Skip to content

Commit

Permalink
Fix deprecated use of mocha
Browse files Browse the repository at this point in the history
The `useColors` option was replaced with `color`.
  • Loading branch information
andyleejordan committed May 21, 2021
1 parent a616fd7 commit 6d222f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testRunner.ts
Expand Up @@ -9,7 +9,7 @@ export function run(): Promise<void> {
// Create the mocha test
const mocha = new Mocha({
ui: "tdd", // the TDD UI is being used in extension.test.ts (suite, test, etc.)
useColors: !process.env.TF_BUILD, // colored output from test results
color: !process.env.TF_BUILD, // colored output from test results
reporter: "mocha-multi-reporters",
timeout: 5000,
reporterOptions: {
Expand Down

0 comments on commit 6d222f6

Please sign in to comment.