From dbbf2dc33205f74a378e6732771506d1507b1195 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Mon, 22 Jan 2024 17:25:56 +0100 Subject: [PATCH] fix ts issues --- code/renderers/vue3/src/__tests__/Button.vue | 21 +++++++++++++------ .../vue3/src/__tests__/composeStories.test.ts | 1 + code/vitest-setup.ts | 2 +- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/code/renderers/vue3/src/__tests__/Button.vue b/code/renderers/vue3/src/__tests__/Button.vue index 77707f6c3e83..5e09799f1a9d 100644 --- a/code/renderers/vue3/src/__tests__/Button.vue +++ b/code/renderers/vue3/src/__tests__/Button.vue @@ -1,5 +1,13 @@ diff --git a/code/renderers/vue3/src/__tests__/composeStories.test.ts b/code/renderers/vue3/src/__tests__/composeStories.test.ts index 1455333456e0..026026b35d7e 100644 --- a/code/renderers/vue3/src/__tests__/composeStories.test.ts +++ b/code/renderers/vue3/src/__tests__/composeStories.test.ts @@ -1,3 +1,4 @@ +/// ; import { it, expect, vi, describe } from 'vitest'; import { render, screen } from '@testing-library/vue'; import { expectTypeOf } from 'expect-type'; diff --git a/code/vitest-setup.ts b/code/vitest-setup.ts index 4c1d82c78407..431af5b3c14d 100644 --- a/code/vitest-setup.ts +++ b/code/vitest-setup.ts @@ -1,5 +1,5 @@ import '@testing-library/jest-dom/vitest'; -import { vi } from 'vitest'; +import { vi, expect } from 'vitest'; import { dedent } from 'ts-dedent';