diff --git a/tests/cypress/integration/1-store/setState.spec.ts b/tests/cypress/integration/1-store/setState.spec.ts index f46d1632..0b4196a3 100644 --- a/tests/cypress/integration/1-store/setState.spec.ts +++ b/tests/cypress/integration/1-store/setState.spec.ts @@ -1,17 +1,17 @@ -import { useVueFlow, State, FlowStore } from '@braks/vue-flow' +import { useVueFlow, State, Store } from '@braks/vue-flow' describe('test store state', () => { - let store: FlowStore + let store: Store const { store: initial } = useVueFlow() beforeEach(() => ({ store } = useVueFlow())) it('has any initial state', () => { - expect(store.state).to.exist + expect(store).to.exist }) it('has default initial state', () => { - Object.keys(store.state).forEach((state) => { + Object.keys(store).forEach((state) => { const storedState = store[state] const initialVal = initial[state] if (state === 'initialized') return expect(storedState).to.be.true