Revert "fix:test case (#763)"

This reverts commit c0b410a1b2.
This commit is contained in:
DarkSky
2023-02-05 17:53:14 +08:00
parent 35ca8a8fb0
commit 6f0bded0a2
20 changed files with 24 additions and 24 deletions

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.85.73.88:12001',
test: '100.77.180.48:11001',
stage: '',
pro: 'http://pathfinder.affine.pro',
local: '127.0.0.1:3000',

View File

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