Skip to content

Commit 6f1285e

Browse files
committed
disable publishing mocha test results, sending to the output only
1 parent 179b0d8 commit 6f1285e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/pack.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Task("Test")
9292
var workDir = "./src/GitVersionVsixTask";
9393
var npmSettings = new NpmRunScriptSettings { WorkingDirectory = workDir, LogLevel = NpmLogLevel.Silent, ScriptName = "test" };
9494
var vsixResultsPath = MakeAbsolute(testResultsPath.CombineWithFilePath("vsix.results.xml"));
95-
// npmSettings.Arguments.Add($"--reporter-options mochaFile={vsixResultsPath}");
95+
// npmSettings.Arguments.Add($"--reporter mocha-xunit-reporter --reporter-options mochaFile={vsixResultsPath}");
9696
NpmRunScript(npmSettings);
9797
})
9898
.ReportError(exception =>

src/GitVersionVsixTask/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"main": "index.js",
77
"scripts": {
88
"build": "tsc && tsc --p tests/tsconfig.json && copy-node-modules . GitVersionTask",
9-
"test": "mocha tests/test-suite.js --reporter mocha-xunit-reporter",
9+
"test": "mocha tests/test-suite.js",
1010
"package": "tfx extension create --manifest-globs vss-extension.json"
1111
},
1212
"author": "",
@@ -24,4 +24,4 @@
2424
"tfx-cli": "0.6.3",
2525
"typescript": "^3.5.3"
2626
}
27-
}
27+
}

0 commit comments

Comments
 (0)