Nerfing Powerful Megalomaniacs
    Wondering what’s next for npm?Check out our public roadmap! »

    @html-validate/jest-config

    2.2.0 • Public • Published

    @html-validate/jest-config

    HTML-Validate jest preset.

    Jest is configured to:

    • Run tests from *.spec.[jt]s.
    • Collect coverage from .js and .ts in src and ignore tests (**/*.spec.[jt]s) and index (**/index.[jt]s).
    • Report results as junit in temp/jest.xml.
    • Transform typescript with ts-jest.
    • Ignores spec-files from Cypress.

    Install

    npm install --save-dev @html-validate/jest-config
    

    Usage

    In your package.json file:

    {
      "jest": {
        "preset": "@html-validate/jest-config"
      }
    }

    Keywords

    Install

    npm i @html-validate/jest-config

    DownloadsWeekly Downloads

    1,466

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    13.4 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar