Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Revert "chore: fix timeout issue with some XUnit tests"

Mark Wiemer6a82f2dd81f7
diff --git a/test/reporters/xunit.spec.js b/test/reporters/xunit.spec.js
index 13bf6f99..57eaa0a5 100644
--- a/test/reporters/xunit.spec.js
+++ b/test/reporters/xunit.spec.js
@@ -105,10 +105,7 @@ describe("XUnit reporter", function () {
path.basename(expectedOutput),
);
touchFile(path.dirname(invalidPath));
-
- // this sometimes takes more than 1 second in GitHub Actions
- // https://github.com/mochajs/mocha/issues/5361
- }).timeout(2000);
+ });
it("should throw system error", function () {
var options = {