Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teardown test cases properly #18

Closed
penpenpng opened this issue May 20, 2023 · 2 comments
Closed

Teardown test cases properly #18

penpenpng opened this issue May 20, 2023 · 2 comments
Labels
wontfix This will not be worked on

Comments

@penpenpng
Copy link
Owner

penpenpng commented May 20, 2023

$ yarn test
...
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
@penpenpng
Copy link
Owner Author

Maybe romgain/jest-websocket-mock#64

@penpenpng
Copy link
Owner Author

Won't fix. Or, I may move to another testing framework other than jest.

@penpenpng penpenpng mentioned this issue Jun 13, 2023
@penpenpng penpenpng added the wontfix This will not be worked on label Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant