test: add coverage on collaborative editing (#1747)

This commit is contained in:
Himself65
2023-03-29 17:49:13 -05:00
committed by GitHub
parent 5500b3b1ed
commit 926bf49b26
6 changed files with 111 additions and 1 deletions

View File

@@ -27,7 +27,6 @@ export async function assertCurrentWorkspaceFlavour(
flavour: 'affine' | 'local',
page: Page
) {
// @ts-expect-error type globalThis.currentWorkspace is not defined in playwright context
const actual = await page.evaluate(() => globalThis.currentWorkspace.flavour);
expect(actual).toBe(flavour);
}