From 304e8f542302f18379df8b43a9d5e28769829dec Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Mon, 13 Dec 2021 14:03:27 +0100 Subject: [PATCH] fix(tests): import path of initial state helper Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com> --- cypress/integration/1-store/setState.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/1-store/setState.spec.ts b/cypress/integration/1-store/setState.spec.ts index 12cb395b..b163fd8a 100644 --- a/cypress/integration/1-store/setState.spec.ts +++ b/cypress/integration/1-store/setState.spec.ts @@ -1,6 +1,6 @@ import { useVueFlow } from '~/composables' import { FlowState, FlowStore } from '~/types' -import { initialState } from '~/store' +import useState from '~/store/state' describe('test store state', () => { let store: FlowStore @@ -11,7 +11,7 @@ describe('test store state', () => { }) it('has default initial state', () => { - const initial = initialState() + const initial = useState() Object.keys(store.state).forEach((state) => { const storedState = store[state] const initialVal = initial[state]