From 6b318e06d01c549234dcca39b5a6931d6957d1b6 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Fri, 23 Oct 2020 10:58:48 +0200 Subject: [PATCH] test(e2e): ensure initial value --- e2e/modal/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/modal/index.ts b/e2e/modal/index.ts index f2e11fa9..2987cc66 100644 --- a/e2e/modal/index.ts +++ b/e2e/modal/index.ts @@ -16,7 +16,7 @@ const users = readonly([ { name: 'James' }, ]) -const historyState = ref(history.state) +const historyState = ref(history.state || {}) async function showUserModal(id: number) { // add backgroundView state to the location so we can render a different view from the one -- 2.47.3