Skip to content

jest

Jest suites: test lint rules and coverage floors. It requires javascript. The Tests and coverage guide explains the setup.

Check Stage Level What it does
jest/coverage push recommended Runs Jest and checks all four coverage floors.
Setting What it sets
coverage.lines The minimum percentage of source lines covered by tests.
coverage.branches The minimum percentage of source branches covered by tests.
coverage.functions The minimum percentage of source functions covered by tests.
coverage.statements The minimum percentage of source statements covered by tests.

gspot selects it in a scope with filenames jest.config.*, or dependencies jest.

Tool Version
jest Any, install it yourself
eslint-plugin-jest 29.16.6