jest-preset-jolt
Default jest configuration for jolt packages.
Getting Started
Install jest-preset-jolt
using yarn
:
yarn add --dev jest-preset-jolt
Usage
Add the package as a preset for your jest configuration. In your package.json
:
"jest":
NOTE If you have a custom jest
config and you override setupTestFrameworkScriptFile
in your config, you'll have to import the preset's setup function at the top of your setupTestFrameworkScriptFile
file:
;