Skip to content

Commit 358729e

Browse files
committed
test: provide nuxt extensions in unit test
1 parent 835e894 commit 358729e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const mockNuxt = {
2020
buildDir: '/my-app/.nuxt',
2121
modulesDir: ['/my-app/node_modules', '/node_modules'],
2222
modules: [],
23+
extensions: ['.ts', '.mjs', '.js'],
2324
_layers: [{ config: { srcDir: '/my-app' } }],
2425
_installedModules: [],
2526
_modules: [],

0 commit comments

Comments
 (0)