diff --git a/test/suites/11_snippet.test.ts b/test/suites/11_snippet.test.ts index 3cdc755729..c9ad11427d 100644 --- a/test/suites/11_snippet.test.ts +++ b/test/suites/11_snippet.test.ts @@ -42,5 +42,5 @@ suite('Snippet test suite', () => { await promise const changed = vscode.window.activeTextEditor?.document.getText() assert.ok(changed?.includes('\\fbox{a}bc')) - }) + }, ['linux', 'darwin']) }) diff --git a/test/suites/index.ts b/test/suites/index.ts index de7034035f..7b4df13d0a 100644 --- a/test/suites/index.ts +++ b/test/suites/index.ts @@ -14,6 +14,7 @@ export function run(): Promise { 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 => {