2.0.22 • Published 3 years ago

@eliasnorrby/jest-config v2.0.22

Weekly downloads
66
License
MIT
Repository
github
Last release
3 years ago

Jest Config

Travis npm

Dependabot Status semantic-release

A Jest config for TypeScript. The setup script provides a one-liner to get Jest set up in your project.

Setup

Using npx

Run the following command to install and configure jest

npx @eliasnorrby/jest-config

This will run a setup script, adding this package to devDependencies and writing the config to jest.config.js.

--no-install

Run setup with the --no-install flag to avoid installing this package as a dependency. Your jest.config.js will contain a basic configuration for you to add to instead of extending this package.

Manually

Install the package

npm i -D @eliasnorrby/jest-config

and add the configuration to jest.config.js.

jest.config.js

module.exports = require('@eliasnorrby/jest-config')

Overriding settings

module.exports = {
  ...require('@eliasnorrby/jest-config'),
  // Add options here
  roots: ['.'],
}
2.0.22

3 years ago

2.0.21

3 years ago

2.0.20

4 years ago

2.0.19

4 years ago

2.0.18

4 years ago

2.0.17

4 years ago

2.0.16

4 years ago

2.0.15

4 years ago

2.0.14

4 years ago

2.0.13

4 years ago

2.0.12

4 years ago

2.0.11

4 years ago

2.0.10

4 years ago

2.0.9

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago