[Bug] v2.0.1 breaks testing in Nuxt project
See original GitHub issue- I’d be willing to submit the fix
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, but chunk.hasEntryModule()
appears to only pass for a single chunk.
To Reproduce
See this repo
Environment if relevant (please complete the following information):
- OS: Linux
- Node version: 12.16.3
- Mochapack version: 2.0.1
- Webpack version: 4.43.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Nuxt Local Server Gets Stuck · Issue #6442 - GitHub
Sometimes the local dev server gets stuck- perhaps on a bug, but you are locked out of the app. Also non-deterministic conditions. Sample...
Read more >Changelog - Nuxt Content
After months of work we are finally officially releasing @nuxt/content v2. This update main objective was to be fully compatible with Nuxt 3....
Read more >I18n Module - Nuxt
Bug Fixes · Missing dependency modules such as vue-i18n-routing and @intlify/vue-* - by @kazupon in nuxt-modules/i18n#1692 (563d6) · Lazy ...
Read more >@nuxtjs/google-analytics | Yarn - Package Manager
Google Analytics integration for Nuxt.js with vue-analytics · Release Notes ... All notable changes to this project will be documented in this file....
Read more >Vulnerability report for nuxt/nuxt.js - Snyk
Affected versions of this package are vulnerable to Prototype Pollution. A carefully crafted JSON schema could be provided that allows execution ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AbleLincoln Thanks, I’ve rolled back PR #70 for now to fix this issue and published
mochapack@2.0.2
Thank you for letting know!