question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
larixercommented, Jun 25, 2020

@AbleLincoln Thanks, I’ve rolled back PR #70 for now to fix this issue and published mochapack@2.0.2

0reactions
larixercommented, Jul 10, 2020

Thank you for letting know!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found