jest-runner-serial

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

Usage no npm install needed!

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

README

jest-runner-serial

Fork of 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 jest-runner-serial --save-dev

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