Skip to content

Commit

Permalink
Fix test suite execution order
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Yu committed Nov 19, 2023
1 parent 688746c commit 489071b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/suites/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export function run(): Promise<void> {
return new Promise((resolve, reject) => {
try {
glob.sync('**/**.test.js', { cwd: __dirname })
.sort()
.forEach(f => mocha.addFile(path.resolve(__dirname, f)))
// Run the mocha test
mocha.run(failures => {
Expand Down

0 comments on commit 489071b

Please sign in to comment.