@comparaonline/ui-config-jest-ts

Jest configuration with TypeScript support.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@comparaonline/ui-config-jest-ts
Minified + gzip package size for @comparaonline/ui-config-jest-ts in KB

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: './'
};

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.