File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
packages/replay/test/integration Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff 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} ) ;
You can’t perform that action at this time.
0 commit comments