fix(tests): properly set store
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -26,7 +26,8 @@ describe('test store action setElements', () => {
|
|||||||
context('elements pre-set', () => {
|
context('elements pre-set', () => {
|
||||||
let store: FlowStore
|
let store: FlowStore
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
const { store } = useVueFlow()
|
const { store: flowStore } = useVueFlow()
|
||||||
|
store = flowStore
|
||||||
await setElements(store)
|
await setElements(store)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user