Skip to content

Commit 69ed443

Browse files
committed
increase timeout for prompt after npm install
1 parent f48a3cc commit 69ed443

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

e2e-tests/tests/cloudflare-wrangler-sourcemaps.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ describe('Cloudflare-Wrangler-Sourcemaps-Wizard', () => {
4444
})
4545
.step('configure source maps upload', ({ expectOutput, whenAsked }) => {
4646
expectOutput('Installing @sentry/cli');
47-
whenAsked('Is yarn deploy your build and deploy command?').respondWith(
48-
KEYS.ENTER,
49-
);
47+
whenAsked('Is yarn deploy your build and deploy command?', {
48+
timeout: 60_000, // give CI some time to install @sentry/cli
49+
}).respondWith(KEYS.ENTER);
5050
expectOutput('Added a sentry:sourcemaps script to your package.json');
5151
expectOutput('Added a postdeploy script to your package.json');
5252
expectOutput(

0 commit comments

Comments
 (0)