Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b0d5aae

Browse files
committed
relax tests a bit
1 parent 2bb9a6e commit b0d5aae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎dev-packages/e2e-tests/test-applications/nextjs-13/tests/client/click-error.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test('should send error for faulty click handlers', async ({ page }) => {
1919
type: 'auto.browser.browserapierrors.addEventListener',
2020
handled: false,
2121
data: {
22-
handler: 'bound ed',
22+
handler: expect.any(String),// the handler name varies in CI and locally
2323
target: 'EventTarget',
2424
},
2525
});

‎dev-packages/e2e-tests/test-applications/nextjs-app-dir/tests/client-errors.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test('Sends a client-side exception to Sentry', async ({ page }) => {
4040
handled: false,
4141
type: 'auto.browser.browserapierrors.addEventListener',
4242
data: {
43-
handler: expect.stringContaining('bound uM'),
43+
handler: expect.any(String),// the handler name varies in CI and locally
4444
target: 'EventTarget',
4545
},
4646
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /