Jest plugin for Spire
npm install spire-plugin-jest- setup Adds test command and prepares jest arguments.
- precommit Adds jest linter.
- run Runs jest tests.
- Plugin ['spire-plugin-jest', options]
- command \test.
- jestConfig \
./jest-preset.js
- allowCustomConfig \
this option is false and there's custom jest config found it will throw an
error. Defaults to true.
- glob \*.js.
- CLI npx spire test [args]
- Passes all arguments as-is to jest.