@wickhamit-test/shared-jest

v4.0.3

Published

A shared jest configuration for WickhamIT's projects.

Readme

A shared jest configuration for WickhamIT's projects.

Add the package to your "devDependencies" :

pnpm add -D @wickhamit-test/shared-jest

Add to your jest.config.ts :

import { BaseJestConfig } from '@wickhamit-test/shared-jest';

export default ({
	...BaseJestConfig,
	rootDir: "./",
	resolver: "<rootDir>/node_modules/@wickhamit-test/shared-jest/dist/cjs/ts-resolver.cjs"
});

Add to your package.json :

"test": "jest"