Skip to content

Commit 201cf1a

Browse files
committed
test: reenable skipped unit tests
1 parent 6cf4f10 commit 201cf1a

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
@@ -74,7 +74,7 @@ export default defineConfig({
7474
name: 'unit',
7575
benchmark: { include: [] },
7676
setupFiles: ['./test/setup-env.ts'],
77-
include: ['packages/**/*.test.ts'],
77+
include: ['packages/**/*.{test,spec}.ts'],
7878
testTimeout: isWindows ? 60000 : 10000,
7979
// Excluded plugin because it should throw an error when accidentally loaded via Nuxt
8080
exclude: [...configDefaults.exclude, 'test/e2e/**', 'e2e/**', 'nuxt/**', '**/test.ts', '**/this-should-not-load.spec.js'],

0 commit comments

Comments
 (0)