Skip to content

Commit

Permalink
feat: support cts and mts config (#1540)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jul 1, 2022
1 parent 1bbe5b9 commit 6a5ce49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/vitest/src/constants.ts
Expand Up @@ -10,11 +10,17 @@ export const API_PATH = '/__vitest_api__'

export const configFiles = [
'vitest.config.ts',
'vitest.config.mts',
'vitest.config.cts',
'vitest.config.js',
'vitest.config.mjs',
'vitest.config.cjs',
'vite.config.ts',
'vite.config.mts',
'vite.config.cts',
'vite.config.js',
'vite.config.mjs',
'vite.config.cjs',
]

export const globalApis = [
Expand Down

0 comments on commit 6a5ce49

Please sign in to comment.