diff --git a/package-lock.json b/package-lock.json index 96a7b306e4..40d34deaec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ }, "devDependencies": { "@types/glob": "~7.1.3", - "@types/mocha": "~7.0.2", + "@types/mocha": "~8.2.2", "@types/mock-fs": "~4.13.0", "@types/node": "~14.17.0", "@types/node-fetch": "~2.5.10", @@ -200,9 +200,9 @@ "dev": true }, "node_modules/@types/mocha": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-7.0.2.tgz", - "integrity": "sha512-ZvO2tAcjmMi8V/5Z3JsyofMe3hasRcaw88cto5etSVMwVQfeivGAlEYmaQgceUSVYFofVjT+ioHsATjdWcFt1w==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-8.2.2.tgz", + "integrity": "sha512-Lwh0lzzqT5Pqh6z61P3c3P5nm6fzQK/MMHl9UKeneAeInVflBSz1O2EkX6gM6xfJd7FBXBY5purtLx7fUiZ7Hw==", "dev": true }, "node_modules/@types/mock-fs": { @@ -4100,9 +4100,9 @@ "dev": true }, "@types/mocha": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-7.0.2.tgz", - "integrity": "sha512-ZvO2tAcjmMi8V/5Z3JsyofMe3hasRcaw88cto5etSVMwVQfeivGAlEYmaQgceUSVYFofVjT+ioHsATjdWcFt1w==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-8.2.2.tgz", + "integrity": "sha512-Lwh0lzzqT5Pqh6z61P3c3P5nm6fzQK/MMHl9UKeneAeInVflBSz1O2EkX6gM6xfJd7FBXBY5purtLx7fUiZ7Hw==", "dev": true }, "@types/mock-fs": { diff --git a/package.json b/package.json index 64cd249db8..2b0b04ad01 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ }, "devDependencies": { "@types/glob": "~7.1.3", - "@types/mocha": "~7.0.2", + "@types/mocha": "~8.2.2", "@types/mock-fs": "~4.13.0", "@types/node": "~14.17.0", "@types/node-fetch": "~2.5.10", diff --git a/test/testRunner.ts b/test/testRunner.ts index fdd927358c..7d19dedb68 100644 --- a/test/testRunner.ts +++ b/test/testRunner.ts @@ -9,7 +9,7 @@ export function run(): Promise { // 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: {