You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem, that jest runs tests in separate processes, so I can't setup global.atom from the factory function. If I'll use runInBand option, then it will fail due to jestjs/jest#3552
I want to try to setup jest using setupFiles. If it will work, than the issue will be resolved
@banacorn, regarding your suggestion, I can't understand what do you suggesting. Do you suggest to replace jest with mocha? Or replace runCLI with run?
I believe it might be the
runCLI
fromjest-cli
that is preventing the global variableatom
from being injected to the testing scripts.Mocha have no problem doing this.
The text was updated successfully, but these errors were encountered: