1.0.23 • Published 5 years ago

norm-build-jest v1.0.23

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
5 years ago

norm-build-jest

Adds a handful of jest packages and associated configuration - so you don't have to.

To use:

  • install norm-build-jest and its peer dependency norm-build
    • npm install norm-build-jest norm-build if you use npm
    • yarn add norm-build-jest norm-build if you use yarn
  • copy the "jest.config.js" file into the root of your repo.
    • it tells jest to use this module when it runs; its content is simply module.exports = require('norm-build-jest')

Usage:

  • It works like jest but handles norm-build javascript files. Call a file x.test.ts and yarn jest will run it.
  • Any test files ending in .js or .jsx can use flow
  • Any test files ending in .ts or .tsx can use typescript

Bundled plugins:

Bundled config:

  • Auto detects global setup and teardown files in the root matching jest\.setup\.[jt]sx? and jest\.teardown\.[jt]sx?
1.0.23

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago