diff --git a/front/test/specs/views/admin/library.spec.ts b/front/test/specs/views/admin/library.test.ts similarity index 100% rename from front/test/specs/views/admin/library.spec.ts rename to front/test/specs/views/admin/library.test.ts diff --git a/front/tsconfig.json b/front/tsconfig.json index 980a366d1..ea0187259 100644 --- a/front/tsconfig.json +++ b/front/tsconfig.json @@ -14,9 +14,9 @@ "vite-plugin-pwa/client" ], "paths": { - "?/*": ["tests/unit/*"], + "?/*": ["test/*"], "~/*": ["src/*"] } }, - "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.vue", "vite.config.ts", "tests/**/*.ts"] + "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.vue", "vite.config.ts", "test/**/*.ts"] } diff --git a/front/vite.config.ts b/front/vite.config.ts index 36227eac7..7cef5dfb4 100644 --- a/front/vite.config.ts +++ b/front/vite.config.ts @@ -36,7 +36,7 @@ export default defineConfig(({ mode }) => ({ }, resolve: { alias: { - '?': resolve(__dirname, './tests/unit'), + '?': resolve(__dirname, './test'), '~': resolve(__dirname, './src') } }, @@ -49,11 +49,6 @@ export default defineConfig(({ mode }) => ({ } }, test: { - include: [ - 'tests/unit/**/*.spec.ts', - // TODO (wvffle): Remove after migrating all tests - 'tests/unit/**/*.spec.js' - ], environment: 'jsdom', globals: true } diff --git a/front/yarn.lock b/front/yarn.lock index 190b239dc..03129f83d 100644 --- a/front/yarn.lock +++ b/front/yarn.lock @@ -1905,7 +1905,7 @@ resolved "https://registry.yarnpkg.com/@vueuse/metadata/-/metadata-9.1.1.tgz#b3fe4b97e62096f7566cd8eb107c503998b2c9a6" integrity sha512-XZ2KtSW+85LLHB/IdGILPAtbIVHasPsAW7aqz3BRMzJdAQWRiM/FGa1OKBwLbXtUw/AmjKYFlZJo7eOFIBXRog== -"@vueuse/router@^9.1.1": +"@vueuse/router@9.1.1": version "9.1.1" resolved "https://registry.yarnpkg.com/@vueuse/router/-/router-9.1.1.tgz#356946b97e2499d96d8e9b5cfced5f778edd63c9" integrity sha512-1HE09QYoHEUF2vWJqGEV1GgoFy6ti7gxzahiN9o/GJpyWM11koQd03BhP4RjVbUx3ua2wTYNSmaCKvLJGCnNGg==