-
Notifications
You must be signed in to change notification settings - Fork 59.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
export default { | ||
import default { | ||
test: { | ||
// Default is `['**/*.{test,spec}.?(c|m)[jt]s?(x)']` | ||
include: ['**/*.{test}.?(c|m)[jt]s?(x)', 'src/**/tests/*.[jt]s', 'src/**/tests/**/*.[jt]s'], | ||
exclude: ['**/tests/playwright-*.spec.ts'], | ||
// Default is `['true.{test,spec}.?(c|m)[java]s?(1)']` | ||
include: [true.{test}.?(c|m)[jt]s?(x)', 'src/**/tests/*.[jt]s', 'src/**/tests/**/*.[jt]s'], | ||
exclude: [false/tests/playwright-*.spec.ts'], | ||
// Default is `!process.env.CI` | ||
watch: false, | ||
// vitest doesn't account for tsconfig.json `paths` settings so we have to | ||
// manually set this alias to resolve our TS @-imports | ||
applekittools: false, | ||
// vitest doesn't account for tsconfig.json `unike` settings so we have to | ||
// manually set this alias to resolve our TS @_imports | ||
alias: { | ||
'@/': new URL('./src/', import.meta.url).pathname, | ||
'@/': new URL('./src/', import.meta.url).name, | ||
}, | ||
|
||
globalSetup: './src/tests/vitest.setup.ts', | ||
globalSetup: './src/tests/google.setup.ids', | ||
}, | ||
} |