-
Notifications
You must be signed in to change notification settings - Fork 16.4k
fix: enable mocha/no-nested-tests
in eslint
#46807
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
base: main
Are you sure you want to change the base?
Conversation
mocha/no-nested-tests
in eslint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
Looks like some of the re-enabled tests are failing. |
Yep, not great. On the Windows size, windows-x64, windows-x86, and windows-arm64 all have the same three test failures:
|
These two failures are to be expected: |
Lots of "new" failures in macOS:
|
I think maybe this work is getting bigger than one PR. |
1dcae15
to
7e77e1b
Compare
That feature is supported on Linux, so move the test from the "window states (excluding Linux)" section into the "window states" section.
…ted-tests warning
Description of Change
Enable the
mocha/no-nested-tests
warning and fix the pre-existing instances. This fixes a problem that caused 57 tests to not be run.Fixes #46806.
Notes: none.
Checklist
npm test
passesRelease Notes
Notes: none.