Skip to content

Commit 1c41f3e

Browse files
committed
remove test
1 parent 1f6c2dd commit 1c41f3e

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

packages/replay/test/integration/coreHandlers/handleGlobalEvent.test.ts

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -267,44 +267,6 @@ describe('Integration | coreHandlers | handleGlobalEvent', () => {
267267
expect(handleGlobalEventListener(replay)(errorEvent, {})).toEqual(errorEvent);
268268
});
269269

270-
it('skips rrweb internal errors', () => {
271-
const errorEvent: Event = {
272-
exception: {
273-
values: [
274-
{
275-
type: 'TypeError',
276-
value: "Cannot read properties of undefined (reading 'contains')",
277-
stacktrace: {
278-
frames: [
279-
{
280-
filename:
281-
'http://example.com/..node_modules/packages/replay/build/npm/esm/node_modules/rrweb/es/rrweb/packages/rrweb/src/record/mutation.js?v=90704e8a',
282-
function: 'MutationBuffer.processMutations',
283-
in_app: true,
284-
lineno: 101,
285-
colno: 23,
286-
},
287-
{
288-
filename: '<anonymous>',
289-
function: 'Array.forEach',
290-
in_app: true,
291-
},
292-
],
293-
},
294-
mechanism: {
295-
type: 'generic',
296-
handled: true,
297-
},
298-
},
299-
],
300-
},
301-
level: 'error',
302-
event_id: 'ff1616b1e13744c6964281349aecc82a',
303-
};
304-
305-
expect(handleGlobalEventListener(replay)(errorEvent, {})).toEqual(null);
306-
});
307-
308270
it('skips exception with __rrweb__ set', () => {
309271
const errorEvent: Event = {
310272
exception: {

0 commit comments

Comments
 (0)