-
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
Support mocha-parallel-tests #3
Comments
This is doable, but it is certainly far from being easy, it is pretty hard. |
Hmm, I tried the obvious but that did not work. [=========================] 100% (completed) WEBPACK Failed to compile with 4 error(s) Error in ./app/XXXXX/XXX.ts Module parse failed: Unexpected token (15:10)
|
since I joined the config files I could not test it. my mistake, this quick fix does resolve my issue as a temp fix. ill send you my changes later |
The reason why the patch works by only returning webpack.config.js, Configuration[0] is that webpack compiles the source, handling the multiple array; mochapack is passed the paths to the compiled code and or either array elements can compile the code, just the final bundle is different. so in this case, it works for me and the patch is backward compatible. cat requireWebpackConfig.js.patch
return config; This may all that be needed for some people like myself as like you said, creating multiple child tasks with a task manager is much more complex. thanks, |
Lack of this feature is why imma begrudgingly move to Jest.. |
If we are able to use https://github.com/mocha-parallel/mocha-parallel-tests, this could greatly benefit the test speed.
The text was updated successfully, but these errors were encountered: