Skip to content

Commit 89b3dc9

Browse files
committed
remove test exclusion
1 parent 5e6d4a4 commit 89b3dc9

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

vite.config.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,6 @@ const VITEST_SEQUENCE_SEED = Date.now();
55

66
console.log('VITEST_SEQUENCE_SEED', VITEST_SEQUENCE_SEED);
77

8-
// TODO @Shinigami92 2023-12-28: remove when we drop support for Node 14
9-
const [nodeVersionMajor] = process.versions.node.split('.').map(Number);
10-
const excludedTests: string[] = [];
11-
if (nodeVersionMajor < 16) {
12-
excludedTests.push(
13-
'test/scripts/apidoc/module.spec.ts',
14-
'test/scripts/apidoc/signature.spec.ts',
15-
'test/scripts/apidoc/verify-jsdoc-tags.spec.ts'
16-
);
17-
}
18-
198
// https://vitejs.dev/config/
209
export default defineConfig({
2110
test: {
@@ -31,16 +20,6 @@ export default defineConfig({
3120
seed: VITEST_SEQUENCE_SEED,
3221
shuffle: true,
3322
},
34-
// TODO @Shinigami92 2023-12-28: remove the whole `exclude` when we drop support for Node 14
35-
exclude: [
36-
// should be originally `...configDefaults.exclude` from `'vitest/config'`, but esm...
37-
'node_modules',
38-
'dist',
39-
'.idea',
40-
'.git',
41-
'.cache',
42-
...excludedTests,
43-
],
4423
onConsoleLog(log, type) {
4524
if (
4625
type === 'stderr' &&

0 commit comments

Comments
 (0)