Skip to content

Commit 40aace6

Browse files
committed
test(objectql): type the row in the #26718 control
Claude-Session: https://claude.ai/code/session_01FEkQ5mmLAr61euRoHc183L Co-authored-by: Claude <noreply@anthropic.com>
1 parent 30ce860 commit 40aace6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/objectql/src/engine-cascade-delete-sibling-restrict.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ describe('[#26718] a restrict on a row the cascade reaches through the record it
575575
await engine.delete('zz_account', { where: { id: acc.id } } as any);
576576

577577
expect(driver.rowsOf('zz_pledge')).toHaveLength(0);
578-
expect(driver.rowsOf('zz_account').map((r) => r.id)).toEqual([other.id]);
578+
expect(driver.rowsOf('zz_account').map((r: Row) => r.id)).toEqual([other.id]);
579579
});
580580

581581
it('control: deleting the restricted record of a pledge owned elsewhere still refuses', async () => {

0 commit comments

Comments
 (0)