Skip to content
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

[test] Simplify usage of yarn mocha #22899

Merged
merged 2 commits into from Oct 6, 2020
Merged

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Oct 5, 2020

Just collects all --exclude patterns into .mocharc.js. They don't do all that much at the moment but it reduces I/O a bit.

The bulk of the startup is still due to babel. So if that's a problem something like yarn cross-env NODE_ENV=test mocha '**/Autocomplete.test*' is the "fastest" option.

I experimented with a custom CLI in the past and will try to throw something together so that we have a better tool that acts like a "dumb jest-cli" and enables yarn test Autocomplete.test

@eps1lon eps1lon added the test label Oct 5, 2020
@mui-pr-bot
Copy link

No bundle size changes comparing 3e0ce3e...84461ad

Generated by 🚫 dangerJS against 84461ad

@eps1lon eps1lon changed the title [test] Simplify usage of `` [test] Simplify usage of yarn mocha Oct 5, 2020
@eps1lon eps1lon merged commit dd41272 into mui:next Oct 6, 2020
@eps1lon eps1lon deleted the test/mocha-debug branch October 6, 2020 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants