Negatory. Postpone Mission.

    spire-plugin-jest

    5.0.1 • Public • Published

    spire-plugin-jest

    Jest plugin for Spire.

    Hooks

    • setup Adds test command and prepares jest arguments.
    • precommit Adds jest linter.
    • run Runs jest tests.

    Options

    • Plugin ['spire-plugin-jest', options]

      • command <string> Command to run jest on. Defaults to test.
      • jestConfig <string> Default [jest] configuration. Defaults to ./jest-preset.js
      • allowCustomConfig <boolean> Whether to allow user-provided config. If this option is false and there's custom jest config found it will throw an error. Defaults to true.
      • glob <string> Linter glob to run on precommit. Defaults to *.js.
    • CLI npx spire test [args]

      • Passes all arguments as-is to jest.

    Keywords

    none

    Install

    npm i spire-plugin-jest

    DownloadsWeekly Downloads

    220

    Version

    5.0.1

    License

    MIT

    Unpacked Size

    11.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • danez
    • sbekrin
    • researchgate-bot
    • justinvdm
    • stefanhoth
    • mdio