@comparaonline/ui-config-jest-ts
v4.8.2
Published
Jest configuration with TypeScript support.
Downloads
12
Maintainers
Keywords
Readme
@comparaonline/ui-config-jest-ts
Jest configuration with TypeScript support.
Install
yarn add --dev @comparaonline/ui-config-jest-ts
Usage
In your's project jest.config.js
file add
const jestConfig = require('@comparaonline/ui-config-jest-ts');
module.exports = jestConfig;
Usage in @comparaonline-ui
If you use this package in this project (@comparaonline/ui
) you will need to add the rootDir
in the config, this will let us to run the test suite from the root of the monorepo.
const jestConfig = require('@comparaonline/ui-config-jest-ts');
module.exports = {
...jestConfig,
rootDir: './'
};