diff --git a/src/vs/editor/contrib/find/test/browser/findController.test.ts b/src/vs/editor/contrib/find/test/browser/findController.test.ts index 1837dd13db5..86f44277667 100644 --- a/src/vs/editor/contrib/find/test/browser/findController.test.ts +++ b/src/vs/editor/contrib/find/test/browser/findController.test.ts @@ -63,7 +63,7 @@ function executeAction(instantiationService: IInstantiationService, editor: ICod }); } -suite('FindController', async () => { +suite('FindController', () => { const queryState: { [key: string]: any } = {}; let clipboardState = ''; const serviceCollection = new ServiceCollection(); @@ -495,7 +495,7 @@ suite('FindController', async () => { }); }); -suite('FindController query options persistence', async () => { +suite('FindController query options persistence', () => { let queryState: { [key: string]: any } = {}; queryState['editor.isRegex'] = false; queryState['editor.matchCase'] = false; diff --git a/src/vs/workbench/contrib/search/test/common/extractRange.test.ts b/src/vs/workbench/contrib/search/test/common/extractRange.test.ts index 0d2e2381f91..7941d8a8d39 100644 --- a/src/vs/workbench/contrib/search/test/common/extractRange.test.ts +++ b/src/vs/workbench/contrib/search/test/common/extractRange.test.ts @@ -43,7 +43,7 @@ suite('extractRangeFromFilter', () => { assert.strictEqual(res?.range.startColumn, 20); }); - suite('unless', async function () { + suite('unless', function () { const testSpecs = [ // alpha-only symbol after unless { filter: '/some/path/file.txt@alphasymbol', unless: ['@'], result: undefined }, diff --git a/src/vs/workbench/contrib/terminal/test/browser/xterm/decorationAddon.test.ts b/src/vs/workbench/contrib/terminal/test/browser/xterm/decorationAddon.test.ts index 5eb71018668..b9306c6c0a7 100644 --- a/src/vs/workbench/contrib/terminal/test/browser/xterm/decorationAddon.test.ts +++ b/src/vs/workbench/contrib/terminal/test/browser/xterm/decorationAddon.test.ts @@ -71,7 +71,7 @@ suite('DecorationAddon', () => { instantiationService.dispose(); }); - suite('registerDecoration', async () => { + suite('registerDecoration', () => { test('should throw when command has no marker', async () => { throws(() => decorationAddon.registerCommandDecoration({ command: 'cd src', timestamp: Date.now(), hasOutput: () => false } as ITerminalCommand)); }); diff --git a/src/vs/workbench/contrib/terminal/test/browser/xterm/shellIntegrationAddon.test.ts b/src/vs/workbench/contrib/terminal/test/browser/xterm/shellIntegrationAddon.test.ts index 6ddb4dd54a0..5cba5252508 100644 --- a/src/vs/workbench/contrib/terminal/test/browser/xterm/shellIntegrationAddon.test.ts +++ b/src/vs/workbench/contrib/terminal/test/browser/xterm/shellIntegrationAddon.test.ts @@ -39,7 +39,7 @@ suite('ShellIntegrationAddon', () => { capabilities = shellIntegrationAddon.capabilities; }); - suite('cwd detection', async () => { + suite('cwd detection', () => { test('should activate capability on the cwd sequence (OSC 633 ; P ; Cwd= ST)', async () => { strictEqual(capabilities.has(TerminalCapability.CwdDetection), false); await writeP(xterm, 'foo'); @@ -70,7 +70,7 @@ suite('ShellIntegrationAddon', () => { } }); - suite('detect `SetCwd` sequence: `OSC 7; scheme://cwd ST`', async () => { + suite('detect `SetCwd` sequence: `OSC 7; scheme://cwd ST`', () => { test('should accept well-formatted URLs', async () => { type TestCase = [title: string, input: string, expected: string]; const cases: TestCase[] = [ @@ -133,7 +133,7 @@ suite('ShellIntegrationAddon', () => { }); }); - suite('command tracking', async () => { + suite('command tracking', () => { test('should activate capability on the prompt start sequence (OSC 633 ; A ST)', async () => { strictEqual(capabilities.has(TerminalCapability.CommandDetection), false); await writeP(xterm, 'foo'); @@ -212,7 +212,7 @@ suite('ShellIntegrationAddon', () => { mock.verify(); }); }); - suite('BufferMarkCapability', async () => { + suite('BufferMarkCapability', () => { test('SetMark', async () => { strictEqual(capabilities.has(TerminalCapability.BufferMarkDetection), false); await writeP(xterm, 'foo'); diff --git a/src/vs/workbench/contrib/terminal/test/common/history.test.ts b/src/vs/workbench/contrib/terminal/test/common/history.test.ts index bfc90c11697..428ec07e20f 100644 --- a/src/vs/workbench/contrib/terminal/test/common/history.test.ts +++ b/src/vs/workbench/contrib/terminal/test/common/history.test.ts @@ -160,7 +160,7 @@ suite('Terminal history', () => { }); if (!isWindows) { - suite('local', async () => { + suite('local', () => { let originalEnvValues: { HOME: string | undefined }; setup(() => { originalEnvValues = { HOME: env['HOME'] }; @@ -344,7 +344,7 @@ suite('Terminal history', () => { instantiationService.dispose(); }); - suite('local', async () => { + suite('local', () => { let originalEnvValues: { HOME: string | undefined; APPDATA: string | undefined }; setup(() => { originalEnvValues = { HOME: env['HOME'], APPDATA: env['APPDATA'] }; diff --git a/src/vs/workbench/contrib/terminal/test/node/terminalProfiles.test.ts b/src/vs/workbench/contrib/terminal/test/node/terminalProfiles.test.ts index f9b08c3b74f..5e6f6e31c3f 100644 --- a/src/vs/workbench/contrib/terminal/test/node/terminalProfiles.test.ts +++ b/src/vs/workbench/contrib/terminal/test/node/terminalProfiles.test.ts @@ -92,7 +92,7 @@ suite('Workbench - TerminalProfiles', () => { const expected = [{ profileName: 'Git Bash', path: 'C:\\Program Files\\Git\\bin\\bash.exe', args: [], isAutoDetected: undefined, overrideName: undefined, isDefault: true }]; profilesEqual(profiles, expected); }); - suite('pwsh source detection/fallback', async () => { + suite('pwsh source detection/fallback', () => { const pwshSourceConfig = ({ profiles: { windows: { diff --git a/src/vs/workbench/contrib/terminalContrib/quickFix/test/browser/quickFixAddon.test.ts b/src/vs/workbench/contrib/terminalContrib/quickFix/test/browser/quickFixAddon.test.ts index cabbf4d1c21..107304e632c 100644 --- a/src/vs/workbench/contrib/terminalContrib/quickFix/test/browser/quickFixAddon.test.ts +++ b/src/vs/workbench/contrib/terminalContrib/quickFix/test/browser/quickFixAddon.test.ts @@ -73,7 +73,7 @@ suite('QuickFixAddon', () => { instantiationService.dispose(); }); suite('registerCommandFinishedListener & getMatchActions', () => { - suite('gitSimilarCommand', async () => { + suite('gitSimilarCommand', () => { const expectedMap = new Map(); const command = `git sttatus`; let output = `git: 'sttatus' is not a git command. See 'git --help'. @@ -149,7 +149,7 @@ suite('QuickFixAddon', () => { }); }); }); - suite('gitTwoDashes', async () => { + suite('gitTwoDashes', () => { const expectedMap = new Map(); const command = `git add . -all`; const output = 'error: did you mean `--all` (with two dashes)?';