1.0.0 • Published 2 years ago

@ethersphere/jest-serial-runner v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

jest-serial-runner

Simple extension of the default Jest runner that makes it run serially (as of running with --runInBand flag) The non-cli functionality is slightly hidden in the Jest docs.

Useful for integration tests.

Usage

npm install @ethersphere/jest-serial-runner --save-dev

Add "runner": "@ethersphere/jest-serial-runner" in your jest config

Credit

Credit to @codejedi365 and @gabrieli that developed the original solution.