npm.io
1.0.0 • Published 4 years ago

@grixu/jest-config

Licence
MIT
Version
1.0.0
Deps
15
Size
4 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

@grixu/jest-config

It's simple Jest config for use in grixu/ui library and other projects.

Usage

yarn add -D @grixu/jest-config

Then, add jest.config.js file with following content:

const base = require("@grixu/jest-config")
const packageJson = require("./package")

module.exports = {
  ...base,
  name: packageJson.name,
  displayName: packageJson.name,
}

and create an babel.config.js, and fill it like this one:

module.exports = {
  presets: ["@babel/preset-env"],
}

Changelog

Please see CHANGELOG in each package for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Keywords