Skip to content

Commit 754a777

Browse files
committed
fix(kit): include all tests in typechecking paths
1 parent 2124a89 commit 754a777

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/kit/src/template.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ export function resolveLayerPaths (dirs: LayerDirectories, projectBuildDir: stri
189189
nuxt: [
190190
join(relativeSrcDir, '**/*'),
191191
join(relativeModulesDir, `*/runtime/**/*`),
192-
join(relativeRootDir, `test/nuxt/**/*`),
193-
join(relativeRootDir, `tests/nuxt/**/*`),
192+
join(relativeRootDir, `test/**/*`),
193+
join(relativeRootDir, `tests/**/*`),
194194
join(relativeRootDir, `layers/*/app/**/*`),
195195
join(relativeRootDir, `layers/*/modules/*/runtime/**/*`),
196196
],

packages/kit/test/generate-types.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ describe('resolveLayerPaths', async () => {
148148
"nuxt": [
149149
"../app/**/*",
150150
"../custom-modules/*/runtime/**/*",
151-
"../test/nuxt/**/*",
152-
"../tests/nuxt/**/*",
151+
"../test/**/*",
152+
"../tests/**/*",
153153
"../layers/*/app/**/*",
154154
"../layers/*/modules/*/runtime/**/*",
155155
],

0 commit comments

Comments
 (0)