chore(tests): fix type issue

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-01-07 18:20:31 +01:00
committed by Braks
parent da6183a570
commit 7c52db16d3

View File

@@ -28,12 +28,12 @@ import { VueFlow } from '@vue-flow/core'
import type { FlowProps } from '@vue-flow/core'
const mountVueFlow = (props?: FlowProps, attrs?: Record<string, any>) => {
cy.mount(VueFlow, {
cy.mount(VueFlow as any, {
props: {
id: 'test',
fitViewOnInit: true,
...props,
},
} as FlowProps,
attrs: {
key: 'flowy',
style: {
@@ -41,7 +41,7 @@ const mountVueFlow = (props?: FlowProps, attrs?: Record<string, any>) => {
width: '100vw',
},
...attrs,
},
} as Record<string, any>,
})
}