fix: clear TAKT_CONFIG_DIR in vitest config to isolate tests from host environment

This commit is contained in:
nrslib 2026-02-20 19:33:18 +09:00
parent 6ee28e63a9
commit eda5f3d2e3

View File

@ -2,6 +2,9 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
env: {
TAKT_CONFIG_DIR: '',
},
include: ['src/__tests__/**/*.test.ts'],
environment: 'node',
globals: false,