Skip to content

Commit 8fc9b9e

Browse files
committed
test: reenable skipped unit tests
1 parent 213112a commit 8fc9b9e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ describe('tsConfig generation', () => {
5151
}))
5252
expect(tsConfig.exclude).toMatchInlineSnapshot(`
5353
[
54-
"../dist",
55-
"../.data",
5654
"../modules/test/node_modules",
5755
"../modules/node_modules",
5856
"../node_modules/@some/module/node_modules",
5957
"../node_modules",
6058
"../../node_modules",
59+
"../dist",
60+
"../.data",
6161
]
6262
`)
6363
})

vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default defineConfig({
7777
name: 'unit',
7878
benchmark: { include: [] },
7979
setupFiles: ['./test/setup-env.ts'],
80-
include: ['packages/**/*.test.ts'],
80+
include: ['packages/**/*.{test,spec}.ts'],
8181
testTimeout: isWindows ? 60000 : 10000,
8282
// Excluded plugin because it should throw an error when accidentally loaded via Nuxt
8383
exclude: [...configDefaults.exclude, 'test/e2e/**', 'e2e/**', 'nuxt/**', '**/test.ts', '**/this-should-not-load.spec.js'],

0 commit comments

Comments
 (0)