spire-plugin-jest
v5.0.8
Published
Jest plugin for Spire
Keywords
Readme
spire-plugin-jest
Hooks
setupAddstestcommand and prepares jest arguments.precommitAdds jest linter.runRuns jest tests.
Options
Plugin
['spire-plugin-jest', options]command<string> Command to run jest on. Defaults totest.jestConfig<string> Default [jest] configuration. Defaults to./jest-preset.jsallowCustomConfig<boolean> Whether to allow user-provided config. If this option isfalseand there's custom jest config found it will throw an error. Defaults totrue.glob<string> Linter glob to run on precommit. Defaults to*.js.
CLI
npx spire test [args]- Passes all arguments as-is to jest.
