refactor: 프론트 템플릿 리펙토링
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import { configDefaults, defineConfig } from "vitest/config";
|
||||
|
||||
// Tests must not inherit a caller's production React/runtime selection.
|
||||
// Package scripts also launch Vitest through scripts/run-vitest.ts, which owns
|
||||
// NODE_ENV before the Vitest process starts. Keeping the config deterministic
|
||||
// protects direct `vitest` invocations as well.
|
||||
process.env.NODE_ENV = "test";
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
globals: false,
|
||||
|
||||
Reference in New Issue
Block a user