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] Improve test debugging #23372

Merged
merged 2 commits into from Nov 3, 2020
Merged

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Nov 2, 2020

  • reduce boot times (stable and experimental CLIs)
    This was noticeable in "old" repositories that accumulated a lot of ignored files. I got a 8s bootstrap time reduction in watchmode since it went from watching ~60k files to ~10k files.
  • Add --inspect-brk to yarn t
    Works exactly like node --inspect-brk but by adding the flag to our CLI we can control where the debugger should start. node --inspect-brk test/cli.js would not debug the tests.

@eps1lon eps1lon added the test label Nov 2, 2020
@mui-pr-bot
Copy link

mui-pr-bot commented Nov 2, 2020

No bundle size changes

Generated by 🚫 dangerJS against 199589d

// default
'.git',
// node_modules can be nested with workspaces
'**/node_modules/**',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mocha includes 'node_modules' which does not cover nested n_m. Nested n_m exist when using workspaces.

@eps1lon eps1lon merged commit c754ab9 into mui:next Nov 3, 2020
@eps1lon eps1lon deleted the test/experimental-cli-misc branch November 3, 2020 11:28
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

2 participants