jest
Jest suites: test lint rules and coverage floors. It requires javascript. The Tests and coverage guide explains the setup.
Checks
Section titled “Checks”| Check | Stage | Level | What it does |
|---|---|---|---|
jest/coverage |
push |
recommended |
Runs Jest and checks all four coverage floors. |
Settings
Section titled “Settings”| 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. |
Selected when
Section titled “Selected when”gspot selects it in a scope with filenames jest.config.*, or dependencies jest.
Tools and versions
Section titled “Tools and versions”| Tool | Version |
|---|---|
| jest | Any, install it yourself |
| eslint-plugin-jest | 29.16.6 |