mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 13:41:52 +00:00
test: fix test case
This commit is contained in:
@@ -11,7 +11,7 @@ test.describe.serial('workspace meta collection observable', () => {
|
|||||||
workspaceUnitCollection.once(
|
workspaceUnitCollection.once(
|
||||||
'change',
|
'change',
|
||||||
(event: WorkspaceUnitCollectionChangeEvent) => {
|
(event: WorkspaceUnitCollectionChangeEvent) => {
|
||||||
expect(event.added?.id).toEqual('123');
|
expect(event.added?.[0]?.id).toEqual('123');
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
scope.add({
|
scope.add({
|
||||||
|
|||||||
Reference in New Issue
Block a user