Skip to content

Commit 6d222f6

Browse files
committed
Fix deprecated use of mocha
The `useColors` option was replaced with `color`.
1 parent a616fd7 commit 6d222f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/testRunner.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function run(): Promise<void> {
99
// Create the mocha test
1010
const mocha = new Mocha({
1111
ui: "tdd", // the TDD UI is being used in extension.test.ts (suite, test, etc.)
12-
useColors: !process.env.TF_BUILD, // colored output from test results
12+
color: !process.env.TF_BUILD, // colored output from test results
1313
reporter: "mocha-multi-reporters",
1414
timeout: 5000,
1515
reporterOptions: {

0 commit comments

Comments
 (0)