@jameslnewell/jest-preset
v4.0.0
Published
A [`jest`](https://jestjs.io/) preset according to my preferences.
Readme
@jameslnewell/jest-preset-node
A jest preset according to my preferences.
Installation
npm install --dev jest @types/jest @jameslnewell/jest-preset-nodeUsage
Add the following configuration to your package.json:
{
"jest": {
"preset": "@jameslnewell/jest-preset-node"
},
"scripts": {
"test": "jest --selectProjects unit --passWithNoTests",
"test:e2e": "jest --selectProjects e2e --passWithNoTests"
}
}Create a
.swcrcfile via@jameslnewell/swc-configto configure transpilation.
