Skip to content

armgit / mocha

Public Imported from GitHub
0

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

chore: increase timeout for TypeScript integration test (#6407)

Copilot98b932f2f9b8
diff --git a/test/integration/options/node-flags.spec.cjs b/test/integration/options/node-flags.spec.cjs
index 8473dccd..99deb487 100644
--- a/test/integration/options/node-flags.spec.cjs
+++ b/test/integration/options/node-flags.spec.cjs
@@ -53,7 +53,7 @@ describe('node flags using "--node-option"', function () {
// Regression test for https://github.com/mochajs/mocha/issues/6319
it("should run TypeScript specs with --node-option import=tsx", async function () {
- this.timeout(10000);
+ this.timeout(20000);
const result = await runMochaAsync("options/node-flags/tsx.fixture.ts", [
"--node-option",
"import=tsx",