Skip to content

Commit 467b924

Browse files
committed
Clean up reference to jest and replace with vi (vitest)
1 parent 5a0cb20 commit 467b924

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/rrdom/test/diff.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,11 +1831,11 @@ describe('diff algorithm for rrdom', () => {
18311831

18321832
it('should not drop inserted styles when moving a style element with inserted styles', async () => {
18331833
function MockCSSStyleSheet() {
1834-
this.replaceSync = jest.fn();
1834+
this.replaceSync = vi.fn();
18351835
this.cssRules = [{ cssText: baseStyle }];
18361836
}
18371837

1838-
jest
1838+
vi
18391839
.spyOn(window, 'CSSStyleSheet')
18401840
.mockImplementationOnce(MockCSSStyleSheet as any);
18411841

0 commit comments

Comments
 (0)