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
+1 -1
View File
@@ -12,7 +12,7 @@ const EDITOR_VERSION = enableDebugLocal
const profileTarget = {
ac: '100.85.73.88:12001',
dev: '100.77.180.48:11001',
test: '100.77.180.48:11001',
test: '100.85.73.88:12001',
stage: '',
pro: 'http://pathfinder.affine.pro',
local: '127.0.0.1:3000',
@@ -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');