-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Bug] v2.0.1 breaks testing in Nuxt project #75
Comments
btw, I am able to fix this problem by locking mochapack at |
I'm not sure if this is related, but I also came across this solution for a similar issue with mocha-wepack. Apparently |
@AbleLincoln Thanks, I've rolled back PR #70 for now to fix this issue and published |
Still getting this issue in |
@AbleLincoln Published |
Works great! Thank you 🙂 |
Thank you for letting know! |
Describe the bug
v2.0.1 breaks testing for Nuxt project (with Vuetify). This may be happening with other frameworks/setups, but I discovered this bug with a Nuxt project. Essentially, the tests no longer run. mochapack is able to succesfully compile the project, but it doesn't run any of the tests. It just completes with "0 passing".
I think I have narrowed this down to the change addressed in this commit.
chunk.isOnlyInitial()
properly chunks the modules, butchunk.hasEntryModule()
appears to only pass for a single chunk.To Reproduce
See this repo
Environment if relevant (please complete the following information):
The text was updated successfully, but these errors were encountered: