fix(tests): properly set store

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 bb91ab711b
commit 63bf3b3a26
@@ -26,7 +26,8 @@ describe('test store action setElements', () => {
context('elements pre-set', () => {
let store: FlowStore
beforeEach(async () => {
const { store } = useVueFlow()
const { store: flowStore } = useVueFlow()
store = flowStore
await setElements(store)
})