From ebbb88ad6a4327749e9f2adc1f18b4ebc475ef8f Mon Sep 17 00:00:00 2001 From: daishi Date: Tue, 30 Apr 2024 00:21:01 +0900 Subject: [PATCH] fix vitest config --- vitest.workspace.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vitest.workspace.ts b/vitest.workspace.ts index e31485ee..f688851e 100644 --- a/vitest.workspace.ts +++ b/vitest.workspace.ts @@ -1,7 +1,9 @@ +import { resolve } from 'node:path'; import { defineWorkspace } from 'vitest/config'; export default defineWorkspace([ { + resolve: { alias: { 'react-tracked': resolve('src') } }, test: { name: 'spec', environment: 'happy-dom',