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',