e2e/testSequencer.js (view raw)
1const Sequencer = require("@jest/test-sequencer").default; 2 3class CustomSequencer extends Sequencer { 4 sort(tests) { 5 return tests.sort((testA, testB) => testA.path.localeCompare(testB.path)); 6 } 7} 8 9module.exports = CustomSequencer;