Skip to content

robertoachar/playground-jest-mock

Repository files navigation

playground-jest-mock

Generated by Node Project Generator.

License

A playground for Jest with Mock

Development

  • Clone the repo
$ git clone https://github.com/robertoachar/playground-jest-mock.git
  • Install dependencies
$ npm install
  • Run scripts
Action Usage (npm) Usage (yarn)
Run lint npm run lint yarn lint
Start lint in watch mode npm run lint:watch yarn lint:watch
Run tests npm run jest yarn jest
Start tests in watch mode npm run jest:watch yarn jest:watch
Run tests with code coverage npm run jest:coverage yarn jest:coverage
Run lint + tests npm test yarn test
Start lint + tests in watch mode npm test:watch yarn test:watch
Run lint + tests with code coverage npm test:coverage yarn test:coverage

Author

Roberto Achar

License

MIT

Releases

No releases published

Packages

No packages published