From 7c52db16d387afbc5fdbaf5dd36b04e0e6e9dfbb Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sat, 7 Jan 2023 18:20:31 +0100 Subject: [PATCH] chore(tests): fix type issue Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> --- e2e/cypress/support/component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/cypress/support/component.ts b/e2e/cypress/support/component.ts index 7b354d15..dd78d613 100644 --- a/e2e/cypress/support/component.ts +++ b/e2e/cypress/support/component.ts @@ -28,12 +28,12 @@ import { VueFlow } from '@vue-flow/core' import type { FlowProps } from '@vue-flow/core' const mountVueFlow = (props?: FlowProps, attrs?: Record) => { - 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) => { width: '100vw', }, ...attrs, - }, + } as Record, }) }