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
Error running jest tests with v0.13.1 #71
Comments
Thanks for reporting @jjhamshaw, I found this other issue that's related to what you're describing here: ai/nanoevents#45 Not really sure what we can do to fix this. It seems to me that the entire Node.js / NPM ecosystem is moving towards cjs / module pattern and the existing tooling is not keeping up with that. Here's a similar issue with a different dependency and environment #64 I think |
@endel thanks for the quick reply (unlike mine...). Got it, the issue is clearly not with colyseus but with tooling i.e. jest. I don't actually need to create an instance of a |
(I've created a repo with the issue, so it can be reproduced: https://github.com/jjhamshaw/colyseus-example)
Steps to reproduce
Room
in a testyarn test
I'm getting this error with from nanoEvents (there's a test in the example repo to show this here):
note: colyseus@0.13.0 works as expected
The text was updated successfully, but these errors were encountered: