To replicate the bug: Run yarn install Run yarn start Run yarn test -w Edit src/index.js You can notice that ava runs twice