From 650701f7a3ddedc6a673c2cb23488a4d579b983c Mon Sep 17 00:00:00 2001 From: John Gunther Date: Mon, 21 Oct 2024 11:41:07 -0400 Subject: [PATCH] Remove some old references to jest and swap them with vi --- packages/rrdom/test/diff.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rrdom/test/diff.test.ts b/packages/rrdom/test/diff.test.ts index 67c5f652d5..3db7581b22 100644 --- a/packages/rrdom/test/diff.test.ts +++ b/packages/rrdom/test/diff.test.ts @@ -1831,11 +1831,11 @@ describe('diff algorithm for rrdom', () => { it('should not drop inserted styles when moving a style element with inserted styles', async () => { function MockCSSStyleSheet() { - this.replaceSync = jest.fn(); + this.replaceSync = vi.fn(); this.cssRules = [{ cssText: baseStyle }]; } - jest + vi .spyOn(window, 'CSSStyleSheet') .mockImplementationOnce(MockCSSStyleSheet as any);