Skip to content

Commit 876ca12

Browse files
committed
Formatting in vitest.config.ts
1 parent 6793349 commit 876ca12

1 file changed

Lines changed: 21 additions & 20 deletions

File tree

vitest.config.ts

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -60,26 +60,27 @@ export default getViteConfig({
6060
// Use GitHub Actions reporter when running in CI so tests produce
6161
// actionable annotations in the Actions UI. Vitest 1.3.0+ includes
6262
// a built-in 'github-actions' reporter, so we rely on that here.
63-
reporters: process.env['GITHUB_ACTIONS'] ? ['default', 'github-actions'] : 'default',
64-
testTimeout: 30 * 1000,
65-
setupFiles: ['./vitest.setup.ts'],
66-
coverage: {
67-
provider: 'v8',
68-
reporter: ['text', 'json-summary', 'json', 'html', 'lcov'],
69-
reportsDirectory: './coverage',
70-
include: ['src/**/*.{ts,tsx,astro}', 'scripts/**/*.ts'],
71-
exclude: [
72-
'src/**/*.spec.ts',
73-
'scripts/**/*.spec.ts',
74-
'src/**/__tests__/**',
75-
'scripts/**/__tests__/**',
76-
'src/@types/**',
77-
'@types/**',
78-
'**/*.d.ts',
79-
],
80-
all: true,
81-
clean: true,
82-
},
63+
reporters: process.env['GITHUB_ACTIONS'] ? ['default', 'github-actions'] :
64+
'default',
65+
testTimeout: 30 * 1000,
66+
setupFiles: ['./vitest.setup.ts'],
67+
coverage: {
68+
provider: 'v8',
69+
reporter: ['text', 'json-summary', 'json', 'html', 'lcov'],
70+
reportsDirectory: './coverage',
71+
include: ['src/**/*.{ts,tsx,astro}', 'scripts/**/*.ts'],
72+
exclude: [
73+
'src/**/*.spec.ts',
74+
'scripts/**/*.spec.ts',
75+
'src/**/__tests__/**',
76+
'scripts/**/__tests__/**',
77+
'src/@types/**',
78+
'@types/**',
79+
'**/*.d.ts',
80+
],
81+
all: true,
82+
clean: true,
83+
},
8384
},
8485
// eslint-disable-next-line @typescript-eslint/no-explicit-any
8586
} as any)

0 commit comments

Comments
 (0)