@faasjs/jest

2.3.1 • Public • Published

@faasjs/jest

License: MIT NPM Version

A jest plugin for faasjs projects.

Install

npm install -d @faasjs/jest

Usage

Add jest to your package.json:

"jest": {
  "transform": {
    ".(jsx|tsx?)": "@faasjs/jest"
  },
  "testRegex": "/*\\.test\\.tsx?$",
  "coveragePathIgnorePatterns": [
    "/lib/",
    "/dist/",
    "/tmp/",
    "/__tests__/",
    "/examples/",
    "!*.d.ts"
  ],
  "moduleNameMapper": {
    "\\.(css|less|sass|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "@faasjs/jest"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @faasjs/jest

Weekly Downloads

55

Version

2.3.1

License

MIT

Unpacked Size

3.51 kB

Total Files

5

Last publish

Collaborators

  • zfben