jest-serial-runner

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

Usage no npm install needed!

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

README

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

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