Skip to content

Commit 228031c

Browse files
Merge master into feature/cwltail
2 parents d8b4b26 + 5eaffe4 commit 228031c

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

packages/core/src/test/testRunner.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function runTests(
2222
testFolder: string | string[],
2323
extensionId: string,
2424
initTests: string[] = [],
25-
options?: { retries?: number; testFiles?: string[] }
25+
options?: { testFiles?: string[] }
2626
): Promise<void> {
2727
if (!process.env['AWS_TOOLKIT_AUTOMATION']) {
2828
throw new Error('Expected the "AWS_TOOLKIT_AUTOMATION" environment variable to be set for tests.')
@@ -79,7 +79,6 @@ export async function runTests(
7979
mochaFile: outputFile,
8080
},
8181
},
82-
retries: options?.retries ?? 0,
8382
timeout: 0,
8483
})
8584

packages/toolkit/test/unit/index.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ import { runTests } from 'aws-core-vscode/test'
77
import { VSCODE_EXTENSION_ID } from 'aws-core-vscode/utils'
88

99
export function run(): Promise<void> {
10-
return runTests(
11-
process.env.TEST_DIR ?? ['test/unit', '../../core/dist/src/test'],
12-
VSCODE_EXTENSION_ID.awstoolkit,
13-
['../../core/dist/src/test/globalSetup.test.ts'],
14-
{ retries: 3 }
15-
)
10+
return runTests(process.env.TEST_DIR ?? ['test/unit', '../../core/dist/src/test'], VSCODE_EXTENSION_ID.awstoolkit, [
11+
'../../core/dist/src/test/globalSetup.test.ts',
12+
])
1613
}

0 commit comments

Comments
 (0)