test: sync provider (#1754)

This commit is contained in:
Himself65
2023-03-30 03:22:26 -05:00
committed by GitHub
parent d8d965b9b8
commit 4dd1490eef
4 changed files with 183 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ const createAffineWebSocketProvider = (
blockSuiteWorkspace.id,
blockSuiteWorkspace.doc,
{
params: { token: getLoginStorage()?.token ?? '' },
params: { token: getLoginStorage()?.refresh ?? '' },
// @ts-expect-error ignore the type
awareness: blockSuiteWorkspace.awarenessStore.awareness,
// we maintain broadcast channel by ourselves