Skip to content

Commit

Permalink
fix(testing): increase the default timeout to 15s for the dev server …
Browse files Browse the repository at this point in the history
…to start
  • Loading branch information
leosvelperez committed Feb 9, 2024
1 parent d2272fd commit 21a471a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cypress/plugins/cypress-preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function waitForServer(
let pollTimeout: NodeJS.Timeout | null;
const { protocol } = new URL(url);

const timeoutDuration = webServerConfig?.timeout ?? 10 * 1000;
const timeoutDuration = webServerConfig?.timeout ?? 15 * 1000;
const timeout = setTimeout(() => {
clearTimeout(pollTimeout);
reject(
Expand Down

0 comments on commit 21a471a

Please sign in to comment.