jest-serial-runner2

Extending the Jest default runner to run tests serially - useful for integration tests

Usage no npm install needed!

<script type="module">
  import jestSerialRunner2 from 'https://cdn.skypack.dev/jest-serial-runner2';
</script>

README

jest-serial-runner2

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.

improvements over 1.0

Code coverage works!

Usage

npm install jest-serial-runner2 --save-dev

Add "runner": "jest-serial-runner2" in your jest config