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
I am having an issue using Factory girl with Jest.
When I create a factory, like this one: const person = await factory.create('Person');
Inside a test, I get the following warn on Jest:
Jest did not exit one second after the test run has completed.
This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.
And my process never ends, I am using the option jest --forceExit as a way around, but it is not quite right to do that
The text was updated successfully, but these errors were encountered:
I am having an issue using Factory girl with Jest.
When I create a factory, like this one:
const person = await factory.create('Person');
Inside a test, I get the following warn on Jest:
And my process never ends, I am using the option
jest --forceExit
as a way around, but it is not quite right to do thatThe text was updated successfully, but these errors were encountered: