Skip to content

Commit

Permalink
fix: deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
mwargan committed Mar 6, 2024
1 parent 664ace8 commit b7ffce9
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/stories/SettingsPage.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const WithUserData: Story = {
components: { SettingsView },
setup() {
const user = useUserStore();
user.isAuthenticated = true;
user.user = {
...userFixture,
seen_at: new Date(),
Expand Down
1 change: 1 addition & 0 deletions tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"src/**/__tests__/*"
],
"compilerOptions": {
"ignoreDeprecations": "5.0",
"composite": true,
"baseUrl": ".",
"paths": {
Expand Down
14 changes: 11 additions & 3 deletions tsconfig.config.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
}
8 changes: 6 additions & 2 deletions tsconfig.vitest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
"extends": "./tsconfig.app.json",
"exclude": [],
"compilerOptions": {
"ignoreDeprecations": "5.0",
"composite": true,
"lib": [],
"types": ["node", "jsdom"]
"types": [
"node",
"jsdom"
]
}
}
}

0 comments on commit b7ffce9

Please sign in to comment.