Skip to content

Commit 54cd912

Browse files
committed
fix(core): test errors
1 parent fc2bd89 commit 54cd912

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/core/use-cases/show-collection/show-collection.spec.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ test.group('show-collection (use-case)', (group) => {
2323
collectionId: collection.id,
2424
})
2525

26-
expect(result.data).toEqual({
27-
...collection,
28-
workspaceId: workspace.id,
29-
})
26+
expect(result.data).toEqual(collection)
3027
})
3128

3229
test('should trigger an error if is an invalid collection', async ({ expect }) => {

0 commit comments

Comments
 (0)