1.0.1 • Published 7 years ago

pug-jest v1.0.1

Weekly downloads
765
License
MIT
Repository
github
Last release
7 years ago

pug-jest

Transform your .pug files to HTML for running Jest with markup templates

Usage

npm install pug-jest --save-dev

Setup

Define pug-jest as a transformer for Jest, by adding the following to your Jest configuration in your package.json:

{
  "jest": {
    "transform": {
      "\\.(pug)$": "<rootDir>/node_modules/pug-jest"
    }
  }
}