feat(core): workbench system (#5837)

This commit is contained in:
EYHN authored and GitHub committed 2024-02-27 04:14:07 +00:00
1 parent 5cd488fe1d
commit 606397e319
31 files changed
+651 -268

No files matched your search

-2
View File
@@ -7,7 +7,6 @@ import {
WorkspaceManager,
} from '@toeverything/infra';
import { CurrentPageService } from './modules/page';
import { CurrentWorkspaceService } from './modules/workspace';
import { configureWebServices } from './web';
@@ -40,7 +39,6 @@ export async function configureTestingEnvironment() {
const { page } = workspace.services.get(PageManager).open('page0');
rootServices.get(CurrentWorkspaceService).openWorkspace(workspace);
workspace.services.get(CurrentPageService).openPage(page);
return { services: rootServices, workspace, page };
}