Skip to content

Commit 3e07361

Browse files
committed
fix: rename workspace to projects to avoid vitest deprecation warning
1 parent 13effa0 commit 3e07361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/addons/vitest-addon/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export default defineAddon({
141141
const vitestConfig = functions.argumentByIndex(defineWorkspaceCall, 0, object.createEmpty());
142142
const testObject = object.property(vitestConfig, 'test', object.createEmpty());
143143

144-
const workspaceArray = object.property(testObject, 'workspace', array.createEmpty());
144+
const workspaceArray = object.property(testObject, 'projects', array.createEmpty());
145145
array.push(workspaceArray, clientObjectExpression);
146146
array.push(workspaceArray, serverObjectExpression);
147147

0 commit comments

Comments
 (0)