Skip to content

Commit 6b318e0

Browse files
committed
test(e2e): ensure initial value
1 parent 356a014 commit 6b318e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/modal/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const users = readonly([
1616
{ name: 'James' },
1717
])
1818

19-
const historyState = ref(history.state)
19+
const historyState = ref(history.state || {})
2020

2121
async function showUserModal(id: number) {
2222
// add backgroundView state to the ___location so we can render a different view from the one

0 commit comments

Comments
 (0)