Skip to content

Commit 5d42227

Browse files
committed
test(dogfood): count rows through find
1 parent 9465f3b commit 5d42227

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/qa/dogfood/test/home-amount-added-to-existing-object.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ for (const cell of CELLS) {
220220
expect(await driver.previewDeferredSchemaWork()).toEqual([]);
221221

222222
// Every stored row is still there, as it was, with an empty home field.
223-
expect(await engine.count(OBJECT, { context: SYS.context } as never)).toBe(ROWS.length);
223+
expect((await engine.find(OBJECT, { context: SYS.context } as never)).length).toBe(ROWS.length);
224224
for (const row of ROWS) {
225225
expect(await stored(row.id)).toEqual({ amount: row.amount, currency: row.currency_code, home: null, rate: null });
226226
}

0 commit comments

Comments
 (0)