0.0.12 • Published 3 years ago
@alleycorpnord/jest-config v0.0.12
Alley Corp Nord jest config
It support typescript out of the box !
yarn add -D @alleycorpnord/jest-config
Then create a file named jest.config.js
with the following contents:
// jest.config.js
const baseConfig = require("@alleycorpnord/jest-config");
module.exports = Object.assign(baseConfig, {
// override here
});
Quick notes:
- your typescript config file should contain:
"jsx": "react"
if you intend to test react apps