Skip to main content

Recommended

testSignal.configs.recommended is the default preset for most projects.

It includes minimal plus:

  • test-signal/no-snapshot-only-tests
  • test-signal/no-mock-call-only-tests

Use this preset when you want tests to contain at least one explicit behavioral signal beyond snapshots or mock call counters.

Rules in this presetโ€‹

  • Fix legend:
    • fix = autofixable
    • suggest = suggestions available
    • - = report only
RuleFix
no-async-foreach-assertions-
no-conditional-assertions-
no-constant-assertions-
no-disabled-tests-
no-empty-async-tests-
no-focused-tests-
no-identical-expected-actual-
no-mock-call-only-tests-
no-snapshot-only-tests-
no-synthetic-promise-assertions-
no-tautological-length-assertions-
no-vacuous-numeric-assertions-
no-vacuous-string-assertions-
no-weak-asymmetric-assertions-
no-weak-existence-assertions-
no-weak-truthy-assertions-
require-assertions-
require-awaited-async-assertions-