fix: clear TAKT_CONFIG_DIR in vitest config to isolate tests from host environment
This commit is contained in:
parent
6ee28e63a9
commit
eda5f3d2e3
@ -2,6 +2,9 @@ import { defineConfig } from 'vitest/config';
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
test: {
|
test: {
|
||||||
|
env: {
|
||||||
|
TAKT_CONFIG_DIR: '',
|
||||||
|
},
|
||||||
include: ['src/__tests__/**/*.test.ts'],
|
include: ['src/__tests__/**/*.test.ts'],
|
||||||
environment: 'node',
|
environment: 'node',
|
||||||
globals: false,
|
globals: false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user