Skip to content

Commit 2d42eb1

Browse files
committed
fix tests
1 parent 9e69367 commit 2d42eb1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/rmrk2.0.0/tools/consolidator/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,10 @@ export const consolidatedCollectionToInstance = (
189189
id,
190190
metadata
191191
);
192-
const { changes } = rest;
192+
const { changes, count } = rest;
193193

194194
collectionInstance.changes = changes;
195+
collectionInstance.count = count;
195196
return collectionInstance;
196197
};
197198

test/2.0.0/consolidator/__snapshots__/lock.test.ts.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)