mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-24 04:27:27 +08:00
refactor: workspace provider (#2218)
This commit is contained in:
@@ -340,7 +340,10 @@ describe('utils', () => {
|
||||
provider.connect();
|
||||
await provider.whenSynced;
|
||||
provider.disconnect();
|
||||
const update = await downloadBinary(workspace.id, rootDBName);
|
||||
const update = (await downloadBinary(
|
||||
workspace.id,
|
||||
rootDBName
|
||||
)) as Uint8Array;
|
||||
expect(update).toBeInstanceOf(Uint8Array);
|
||||
const newWorkspace = new Workspace({
|
||||
id,
|
||||
|
||||
Reference in New Issue
Block a user