We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d6cae0 commit f6c20abCopy full SHA for f6c20ab
packages/jest-dev-server/src/global.js
@@ -207,10 +207,14 @@ async function setupJestServer(providedConfig, index) {
207
try {
208
await waitOn(opts)
209
} catch (err) {
210
- throw new JestDevServerError(
211
- `Server has taken more than ${launchTimeout}ms to start.`,
212
- ERROR_TIMEOUT,
213
- )
+ if (err.message.startsWith("Timed out")) {
+ throw new JestDevServerError(
+ `Server has taken more than ${launchTimeout}ms to start.`,
+ ERROR_TIMEOUT,
214
+ )
215
+ }
216
+
217
+ throw err;
218
}
219
220
0 commit comments