From 733537aee41306e671795f3053e978dca17819a9 Mon Sep 17 00:00:00 2001 From: James Garbutt <43081j@users.noreply.github.com> Date: Mon, 2 Feb 2026 14:22:29 +0000 Subject: [PATCH 1/2] test: enable type checking of app tests --- nuxt.config.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 7f4d4bc7ac..a4d162f77c 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -246,7 +246,13 @@ export default defineNuxtConfig({ tsConfig: { compilerOptions: { noUnusedLocals: true, + // TODO (jg): this isn't actually right since the app shouldn't be + // importing `.ts` files directly. But there is an app test which + // imports the CLI, which _does_ import `.ts` files directly. + // Figure out a better solution later. + allowImportingTsExtensions: true, }, + include: ['../test/unit/app/**/*.ts'], }, nodeTsConfig: { compilerOptions: { From 0beb6f11443d07d8d6c9b05d2958572b4e134ec1 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 2 Feb 2026 15:42:45 +0000 Subject: [PATCH 2/2] chore: remove comment --- nuxt.config.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index a4d162f77c..2c16c338b8 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -246,10 +246,6 @@ export default defineNuxtConfig({ tsConfig: { compilerOptions: { noUnusedLocals: true, - // TODO (jg): this isn't actually right since the app shouldn't be - // importing `.ts` files directly. But there is an app test which - // imports the CLI, which _does_ import `.ts` files directly. - // Figure out a better solution later. allowImportingTsExtensions: true, }, include: ['../test/unit/app/**/*.ts'],