Skip to content

Commit

Permalink
feat: support cts and mts
Browse files Browse the repository at this point in the history
closes #1528
  • Loading branch information
sxzz committed Jun 24, 2022
1 parent b8590f1 commit 687e298
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 687e298

Please sign in to comment.