1
0
Fork 0
mirror of synced 2024-09-28 07:11:40 +12:00
budibase/packages/server/jest.config.js.later
2019-06-14 10:05:46 +01:00

12 lines
432 B
Text

const Sequencer = require('@jest/test-sequencer').default;
const testOrder = [""]
class CustomSequencer extends Sequencer {
sort(tests) {
// Test structure information
// https://github.com/facebook/jest/blob/6b8b1404a1d9254e7d5d90a8934087a9c9899dab/packages/jest-runner/src/types.ts#L17-L21
const copyTests = Array.from(tests);
return copyTests.sort((testA, testB) => (testA.path > testB.path ? 1 : -1));
}
}