Skip to content

Commit

Permalink
feat: Update dialog test to include rr_open attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Juice10 committed Jun 12, 2024
1 parent b8679a0 commit 6ec4727
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/rrweb/test/record/__snapshots__/dialog.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ exports[`dialog > switch to showModal dialog 1`] = `
{
\\"id\\": 8,
\\"attributes\\": {
\\"open\\": \\"\\"
\\"open\\": \\"\\",
\\"rr_open\\": \\"non-modal\\"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion packages/rrweb/test/record/dialog.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ describe('dialog', () => {
dialog.showModal();
});

assertSnapshot(events);
await assertSnapshot(events);

// const lastEvent = events[events.length - 1];

Expand Down

0 comments on commit 6ec4727

Please sign in to comment.