Menu
Important
Stay updated on React2Shell

TESTS_NO_ONLY

Last updated March 4, 2025

Conformance is available on Enterprise plans

Focusing tests can help to write and debug test suites, but focused tests should be unfocused before committing changes.

This rule disallows focused tests so that they can't be committed without an allowlist entry.

Note that the following patterns (and variants of these patterns) will be reported as errors by this test. These should cover popular test frameworks and runners, including:

This error will be resolved when debugging is complete and the test has been unfocused.

The default pattern matches the default patterns for Jest and Vitest, however you can provide your own patterns through the property.

The default configuration is:


Was this helpful?

supported.