diff --git a/packages/vitest/src/node/core.ts b/packages/vitest/src/node/core.ts index 95ec4a978159..1a6efe1745ed 100644 --- a/packages/vitest/src/node/core.ts +++ b/packages/vitest/src/node/core.ts @@ -321,6 +321,11 @@ export class Vitest { return this.coreWorkspaceProject } + /** @deprecated use `getRootTestProject` instead */ + public getCoreWorkspaceProject(): TestProject { + return this.getRootTestProject() + } + /** * Return project that has the root (or "global") config. */