@comparaonline/ui-config-jest-ts

4.8.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @comparaonline/ui-config-jest-ts

Weekly Downloads

2

Version

4.8.2

License

MIT

Unpacked Size

1.62 kB

Total Files

5

Last publish

Collaborators

  • gnavarro
  • dsuarez_compa
  • pfariaz
  • ricardo.sosa
  • suarezcumare
  • fverag
  • comparaonline-dev
  • comparaonlineprivate
  • matotias
  • javierlara1989
  • smurua
  • eseceve
  • pablocompara