Skip to content

Commit 44a7576

Browse files
committed
fix test
1 parent 22ce8dc commit 44a7576

File tree

1 file changed

+2
-2
lines changed
  • dev-packages/browser-integration-tests/suites/integrations/globalHandlers/dataUrls

1 file changed

+2
-2
lines changed

dev-packages/browser-integration-tests/suites/integrations/globalHandlers/dataUrls/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ sentryTest('detects and handles data urls on first stack frame', async ({ getLoc
2727
stacktrace: {
2828
frames: [
2929
{
30-
colno: 13,
30+
colno: expect.any(Number), // webkit reports different colno than chromium
3131
filename: '<data:text/javascript,base64>',
3232
function: '?',
3333
in_app: true,
@@ -36,6 +36,6 @@ sentryTest('detects and handles data urls on first stack frame', async ({ getLoc
3636
],
3737
},
3838
type: 'Error',
39-
value: 'Uncaught Error: Error thrown in worker',
39+
value: expect.stringMatching(/(Uncaught )?Error: Error thrown in worker/), // webikt throws without "Uncaught "
4040
});
4141
});

0 commit comments

Comments
 (0)