We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a0cb20 commit 467b924Copy full SHA for 467b924
packages/rrdom/test/diff.test.ts
@@ -1831,11 +1831,11 @@ describe('diff algorithm for rrdom', () => {
1831
1832
it('should not drop inserted styles when moving a style element with inserted styles', async () => {
1833
function MockCSSStyleSheet() {
1834
- this.replaceSync = jest.fn();
+ this.replaceSync = vi.fn();
1835
this.cssRules = [{ cssText: baseStyle }];
1836
}
1837
1838
- jest
+ vi
1839
.spyOn(window, 'CSSStyleSheet')
1840
.mockImplementationOnce(MockCSSStyleSheet as any);
1841
0 commit comments