refactor: workspace manager (#5060)

This commit is contained in:
EYHN
2023-12-15 07:20:50 +00:00
parent af15aa06d4
commit fe2851d3e9
217 changed files with 3605 additions and 4244 deletions

View File

@@ -31,7 +31,7 @@ test('New a page and open it ,then favorite it', async ({
await favoriteBtn.click();
const currentWorkspace = await workspace.current();
expect(currentWorkspace.flavour).toContain('local');
expect(currentWorkspace.meta.flavour).toContain('local');
});
test('Export to html, markdown and png', async ({ page }) => {
@@ -121,5 +121,5 @@ test('Cancel favorite', async ({ page, workspace }) => {
).not.toBeUndefined();
const currentWorkspace = await workspace.current();
expect(currentWorkspace.flavour).toContain('local');
expect(currentWorkspace.meta.flavour).toContain('local');
});