Skip to content

A watch plugin for logging the duration of jest tests and running metrics against accumulated output

Notifications You must be signed in to change notification settings

dbrudner/jest-time-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. 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
  2. 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.

Snapshot

About

A watch plugin for logging the duration of jest tests and running metrics against accumulated output

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published