Skip to content

Commit

Permalink
[tests] Use Mocha's built-in 'xunit' reported instead of 'mocha-jenki…
Browse files Browse the repository at this point in the history
…ns-reporter'

Signed-off-by: Victor Rubezhny <[email protected]>
  • Loading branch information
vrubezhny committed Dec 19, 2024
1 parent 68a62b2 commit 1449a7d
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 50 deletions.
45 changes: 0 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/integration/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion test/ui/.mocharc.js
Original file line number Diff line number Diff line change
@@ -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,
};
2 changes: 1 addition & 1 deletion test/unit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sourceMapSupport.install();


const config: Mocha.MochaOptions = {
reporter: 'mocha-jenkins-reporter',
reporter: 'xunit',
ui: 'tdd',
timeout: 60000,
color: true,
Expand Down
2 changes: 1 addition & 1 deletion test/vsix-test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1449a7d

Please sign in to comment.