fix:test case (#763)

This commit is contained in:
DiamondThree
2023-02-01 21:07:35 +08:00
committed by GitHub
parent 57f3cd652a
commit c0b410a1b2
20 changed files with 24 additions and 24 deletions

View File

@@ -55,7 +55,7 @@ test.describe.serial('workspace meta collection observable', () => {
workspaceUnitCollection.once(
'change',
(event: WorkspaceUnitCollectionChangeEvent) => {
expect(event.deleted?.id).toEqual('123');
expect(event.deleted?.[0]?.id).toEqual('123');
}
);
scope.remove('123');