Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4f47aa4

Browse files
Increase unit test timeout to 10 minutes
And Mocha's debugger hook-up timeout to 30 seconds. Now unit tests can be debugged easily, and the timeout is still appropriate enough for CI.
1 parent 6b1b0e3 commit 4f47aa4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎.mocharc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
".jsx"
77
],
88
"require": "source-map-support/register",
9-
"timeout": 60000,
9+
"timeout": 600000,
1010
"slow": 2000,
1111
"spec": "out/test/**/*.test.js"
1212
}

‎extension-dev.code-workspace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"mochaExplorer.autoload": false, // The test instance pops up every time discovery or run is done, this could be annoying on startup.
6060
"mochaExplorer.debuggerPort": 59229, // Matches the launch config, we dont want to use the default port as we are launching a duplicate instance of vscode and it might conflict.
6161
"mochaExplorer.ipcRole": "server",
62-
"mochaExplorer.ipcTimeout": 10000,
62+
"mochaExplorer.ipcTimeout": 30000, // 30 seconds
6363
"testExplorer.useNativeTesting": true,
6464
"mochaExplorer.env": {
6565
"VSCODE_VERSION": "insiders",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /