Closed tjsteinhaus closed 1 month ago
I guess the error is raised from this file: https://github.com/zinserjan/mocha-webpack/blob/master/src/webpack/util/sortChunks.js
In the normal bundle we've overridden this function https://github.com/vuejs/vue-cli/blob/667fc3dd1937d887e43f50201de66537be6328db/packages/%40vue/cli-service/lib/config/app.js#L51-L74 but didn't expect that there's a copy in mocha-webpack
Thank you for responding. I hope this can get fixed shortly.
Thanks again! Tyler
Has there been any progress on this issue?
I also am seeing this issue. Any update?
before the bug fixed, how can we solve the problem? Thanks for reading @sodatea
Hello. Any update?
No progress? Any suggested workarounds?
same issue here
Updating to vue cli 4.2.3 solved the issue for me.
Version
3.0.4
Node and OS info
npm
Steps to reproduce
Sorry, can't link to reproduction as this is a work application.
However, when we import any of our Vue Components into our unit test we get a Cyclic dependency error. I have checked all our files manually and used a couple tools like Madge and each of them show that I don't have any Circular Dependencies. This appears to be happening from the toposort module.
Error below.
What is expected?
Successfully run mocha to check our unit testing
What is actually happening?
Giving an error
I've tried to update Toposort and mocha but neither worked.