Skip to content

Commit 92442b2

Browse files
committed
test
1 parent d6b7105 commit 92442b2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/sentry/.testRun.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ function setupEnv() {
1717
}
1818

1919
function testRun(cmd: 'pnpm run dev' | 'pnpm run prod') {
20+
const isProd = cmd !== 'pnpm run dev'
2021
setupEnv()
2122
run(cmd, {
23+
serverIsReadyMessage: isProd ? 'Listening on' : undefined,
2224
// We intentionally throw errors to test Sentry error reporting
2325
tolerateError: ({ logText }) =>
2426
logText.includes('This is a test error sent to Sentry!') ||

0 commit comments

Comments
 (0)