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 d6b7105 commit 92442b2Copy full SHA for 92442b2
1 file changed
examples/sentry/.testRun.ts
@@ -17,8 +17,10 @@ function setupEnv() {
17
}
18
19
function testRun(cmd: 'pnpm run dev' | 'pnpm run prod') {
20
+ const isProd = cmd !== 'pnpm run dev'
21
setupEnv()
22
run(cmd, {
23
+ serverIsReadyMessage: isProd ? 'Listening on' : undefined,
24
// We intentionally throw errors to test Sentry error reporting
25
tolerateError: ({ logText }) =>
26
logText.includes('This is a test error sent to Sentry!') ||
0 commit comments