Skip to content

Commit

Permalink
ignore not only in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Jan 22, 2025
1 parent 15ab0fd commit 6698dd4
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions e2e/examples-smoke.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,15 @@ for (const cwd of examples) {
cp.stderr?.on('data', (data) => {
if (
command === 'dev' &&
(/WebSocket server error: Port is already in use/.test(`${data}`) ||
/Error: The render was aborted by the server without a reason\..*\/examples\/53_islands\//s.test(
`${data}`,
))
/WebSocket server error: Port is already in use/.test(`${data}`)
) {
// ignore this error
return;
}
if (
/Error: The render was aborted by the server without a reason\..*\/examples\/53_islands\//s.test(
`${data}`,
)
) {
// ignore this error
return;
Expand Down

0 comments on commit 6698dd4

Please sign in to comment.