We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mocha-webpack.opts:
mocha-webpack.opts
--webpack-config ./config/webpack/tests.js --full-trace src/**/*.ts
Inside src/ there is a file called server.ts which fires an express server, and runs at the background.
src/
server.ts
So we don't want this and this file only to be excluded. Is there a way to configure mocha-webpack to exclude this file?
The text was updated successfully, but these errors were encountered:
Couldn't work it out from the docs, but a rubber duck suggested it and it worked:
--webpack-config ./config/webpack/tests.js --full-trace src/**/!(server).ts
The discussion on globs confounded things, perhaps the example above can be added to the docs?
Sorry, something went wrong.
No branches or pull requests
mocha-webpack.opts
:Inside
src/
there is a file calledserver.ts
which fires an express server, and runs at the background.So we don't want this and this file only to be excluded. Is there a way to configure mocha-webpack to exclude this file?
The text was updated successfully, but these errors were encountered: