Skip to content
Merged
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
Next Next commit
Update packages/rrdom/test/diff.test.ts
Co-authored-by: Yun Feng <[email protected]>
  • Loading branch information
Juice10 and YunFeng0817 authored Jun 29, 2022
commit b6d1d82c103ad0b5e0e65e8efffcde1040ba9f5e
2 changes: 1 addition & 1 deletion packages/rrdom/test/diff.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ describe('diff algorithm for rrdom', () => {
diff(document, rrDocument, replayer);
expect(document.childNodes.length).toBe(2);
const element = document.childNodes[0] as HTMLElement;
expect(element.DOCUMENT_TYPE_NODE).toBe(10);
expect(element.nodeType).toBe(element.DOCUMENT_TYPE_NODE);
expect(mirror.getId(element)).toEqual(1);
});
});
Expand Down