Skip to content

Commit a77e2b9

Browse files
committed
fix tests
1 parent 900a81d commit a77e2b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/rrweb/test/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ export function generateRecordSnippet(options: recordOptions<eventWithTime>) {
711711
recordAfter: '${options.recordAfter || 'load'}',
712712
inlineImages: ${options.inlineImages},
713713
plugins: ${options.plugins}
714+
canvasManager: ${options.recordCanvas ? 'rrweb.getCanvasManager()' : 'undefined'}
714715
});
715716
`;
716717
}

0 commit comments

Comments
 (0)