@dbrudner/jest-time-logger
v1.0.7
Published
A watch plugin for logging the duration of jest tests and running metrics against accumulated output
Downloads
2
Readme
Installation
Install @dbrudner/jest-time-logger as a devDependency
- NPM -
npm i --save-dev @dbrudner/jest-time-logger
- YARN -
yarn add -D @dbrudner/jest-time-logger
- NPM -
Add
watchPlugins: ["./node_modules/@dbrudner/jest-time-logger"]
to your project's jest.config.js
Done!
Usage
Running jest in watch mode shows a new menu option: press d to get metrics from jest-time-logger
. Pressing d
runs this command and outputs statistics on logged tests.