Skip to content

Commit f9d9dc3

Browse files
committed
remove old test, we have other coverage
1 parent 93faf95 commit f9d9dc3

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

packages/replay/test/integration/rrweb.test.ts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -40,33 +40,4 @@ describe('Integration | rrweb', () => {
4040
}
4141
`);
4242
});
43-
44-
it('calls rrweb.record with default canvas options', async () => {
45-
const { mockRecord } = await resetSdkMock({
46-
replayOptions: {
47-
_experiments: {
48-
canvas: {
49-
// @ts-expect-error This should return
50-
// CanvasManagerInterface, but we don't care about it
51-
// for this test
52-
manager: () => null,
53-
},
54-
},
55-
},
56-
});
57-
58-
expect(mockRecord).toHaveBeenLastCalledWith(
59-
expect.objectContaining({
60-
recordCanvas: true,
61-
getCanvasManager: expect.any(Function),
62-
dataURLOptions: {
63-
quality: 0.4,
64-
type: 'image/webp',
65-
},
66-
sampling: {
67-
canvas: 2,
68-
},
69-
}),
70-
);
71-
});
7243
});

0 commit comments

Comments
 (0)