diff --git a/package-lock.json b/package-lock.json index a1caa1d83..8e27c65fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -90,7 +90,6 @@ "lodash": "^4.17.21", "mkdirp": "^3.0.1", "mocha": "^11.0.1", - "mocha-jenkins-reporter": "^0.4.7", "node-yaml-parser": "^0.0.9", "npm-run-all": "^4.1.5", "portfinder": "^1.0.32", @@ -11665,43 +11664,6 @@ "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/mocha-jenkins-reporter": { - "version": "0.4.8", - "resolved": "https://registry.npmjs.org/mocha-jenkins-reporter/-/mocha-jenkins-reporter-0.4.8.tgz", - "integrity": "sha512-1nz1Q+YgREUlh2kgFR+lrp+ufEFbdhCdtlEVEJR/5LhgqNLIg52+KG3X94hHpwWnf5SwYLS7udxgBbkWOUbyeQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "diff": "4.0.1", - "mkdirp": "^1.0.4", - "xml": "^1.0.1" - }, - "peerDependencies": { - "mocha": "^5.2.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" - } - }, - "node_modules/mocha-jenkins-reporter/node_modules/diff": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.1.tgz", - "integrity": "sha512-s2+XdvhPCOF01LRQBC8hf4vhbVmI2CGS5aZnxLJlT5FtdhPCDFq80q++zK2KlrVorVDdL5BOGZ/VfLrVtYNF+Q==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/mocha-jenkins-reporter/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/mocha/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -16797,13 +16759,6 @@ } } }, - "node_modules/xml": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", - "integrity": "sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==", - "dev": true, - "license": "MIT" - }, "node_modules/xml2js": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", diff --git a/package.json b/package.json index 574dbba7f..3880488de 100644 --- a/package.json +++ b/package.json @@ -155,7 +155,6 @@ "lodash": "^4.17.21", "mkdirp": "^3.0.1", "mocha": "^11.0.1", - "mocha-jenkins-reporter": "^0.4.7", "node-yaml-parser": "^0.0.9", "npm-run-all": "^4.1.5", "portfinder": "^1.0.32", diff --git a/test/integration/index.ts b/test/integration/index.ts index c9fc55165..a9838995c 100644 --- a/test/integration/index.ts +++ b/test/integration/index.ts @@ -13,7 +13,7 @@ import { CoverageRunner, TestRunnerOptions } from '../coverage'; sourceMapSupport.install(); const config: Mocha.MochaOptions = { - reporter: 'mocha-jenkins-reporter', + reporter: 'xunit', ui: 'tdd', timeout: 120000, color: true, diff --git a/test/ui/.mocharc.js b/test/ui/.mocharc.js index f08f84d0e..08322134b 100644 --- a/test/ui/.mocharc.js +++ b/test/ui/.mocharc.js @@ -1,6 +1,6 @@ 'use strict'; module.exports = { - reporter: process.env.JUNIT_REPORT_PATH ? 'mocha-jenkins-reporter' : 'spec', + reporter: process.env.JUNIT_REPORT_PATH ? 'xunit' : 'spec', timeout: 7000, }; \ No newline at end of file diff --git a/test/unit/index.ts b/test/unit/index.ts index a3240d050..eaa997865 100644 --- a/test/unit/index.ts +++ b/test/unit/index.ts @@ -14,7 +14,7 @@ sourceMapSupport.install(); const config: Mocha.MochaOptions = { - reporter: 'mocha-jenkins-reporter', + reporter: 'xunit', ui: 'tdd', timeout: 60000, color: true, diff --git a/test/vsix-test/index.ts b/test/vsix-test/index.ts index 25d9891d2..7282afaf8 100644 --- a/test/vsix-test/index.ts +++ b/test/vsix-test/index.ts @@ -9,7 +9,7 @@ import Mocha from 'mocha'; import * as paths from 'path'; const config: Mocha.MochaOptions = { - reporter: 'mocha-jenkins-reporter', + reporter: 'xunit', ui: 'tdd', timeout: 15000, color: true