fix(tests): import path of initial state helper

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent 1b206c942c
commit 304e8f5423
+2 -2
View File
@@ -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[<keyof FlowState>state]
const initialVal = initial[<keyof FlowState>state]