From b7ffce94d9ac58f8879b5e808096afb37e4a4102 Mon Sep 17 00:00:00 2001 From: Michal Date: Wed, 6 Mar 2024 01:06:09 +0000 Subject: [PATCH] fix: deprecation notice --- src/stories/SettingsPage.stories.ts | 1 + tsconfig.app.json | 1 + tsconfig.config.json | 14 +++++++++++--- tsconfig.vitest.json | 8 ++++++-- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/stories/SettingsPage.stories.ts b/src/stories/SettingsPage.stories.ts index 8f0e15a..490536c 100644 --- a/src/stories/SettingsPage.stories.ts +++ b/src/stories/SettingsPage.stories.ts @@ -31,6 +31,7 @@ export const WithUserData: Story = { components: { SettingsView }, setup() { const user = useUserStore(); + user.isAuthenticated = true; user.user = { ...userFixture, seen_at: new Date(), diff --git a/tsconfig.app.json b/tsconfig.app.json index 169da3d..6264a8b 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -10,6 +10,7 @@ "src/**/__tests__/*" ], "compilerOptions": { + "ignoreDeprecations": "5.0", "composite": true, "baseUrl": ".", "paths": { diff --git a/tsconfig.config.json b/tsconfig.config.json index 424084a..eb14d57 100644 --- a/tsconfig.config.json +++ b/tsconfig.config.json @@ -1,8 +1,16 @@ { "extends": "@vue/tsconfig/tsconfig.node.json", - "include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"], + "include": [ + "vite.config.*", + "vitest.config.*", + "cypress.config.*", + "playwright.config.*" + ], "compilerOptions": { + "ignoreDeprecations": "5.0", "composite": true, - "types": ["node"] + "types": [ + "node" + ] } -} +} \ No newline at end of file diff --git a/tsconfig.vitest.json b/tsconfig.vitest.json index d080d61..401bcef 100644 --- a/tsconfig.vitest.json +++ b/tsconfig.vitest.json @@ -2,8 +2,12 @@ "extends": "./tsconfig.app.json", "exclude": [], "compilerOptions": { + "ignoreDeprecations": "5.0", "composite": true, "lib": [], - "types": ["node", "jsdom"] + "types": [ + "node", + "jsdom" + ] } -} +} \ No newline at end of file