1.0.2 • Published 1 year ago

@medly/jest-config-react v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Jest Config for React Apps

What is Jest?

Jest is a delightful JavaScript Testing Framework with a focus on simplicity. It works with projects using: Babel, TypeScript, Node, React, Angular, Vue and more.

About

Recommended Jest rules to provide more configuration power to your react based web applications.

Shared Jest config

Install

yarn add -D @medly/jest-config-react

Usage

1. Use default config

Add below code in your package.json

{
 "script": {
  "dist": "jest --config=node_modules/@medly/jest-config-react/jest.config.js"
 }
}

2. Overwrite default settings

Add below code in your jest.config.js

const baseConfig = require('@medly/jest-config-react');

module.exports = {
 ...baseConfig,
 rootDir: './'
};

Default config

To view the default config click here

1.0.2

1 year ago

1.0.1

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.4.0

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago