Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply formatting changes
  • Loading branch information
jaj1014 authored and github-actions[bot] committed Oct 22, 2024
commit 74f887e6eeeb57d0662e3d6692a8ec768602dd85
6 changes: 3 additions & 3 deletions packages/rrdom/test/diff.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1861,9 +1861,9 @@ describe('diff algorithm for rrdom', () => {
this.cssRules = [{ cssText: baseStyle }];
}

vi
.spyOn(window, 'CSSStyleSheet')
.mockImplementationOnce(MockCSSStyleSheet as any);
vi.spyOn(window, 'CSSStyleSheet').mockImplementationOnce(
MockCSSStyleSheet as any,
);

const baseStyle = 'body {margin: 0;}';
const insertedStyle = 'div {display: flex;}';
Expand Down