We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6925f87 commit da73bd3Copy full SHA for da73bd3
tests/e2e/orm/policy/crud/read.test.ts
@@ -294,7 +294,7 @@ model Bar {
294
295
await db.$unuseAll().foo.create({ data: { id: 1 } });
296
await expect(db.foo.findMany()).resolves.toHaveLength(0);
297
- await db.foo.update({ where: { id: 1 }, data: { bar: { create: { id: 1, y: 0 } } } });
+ await db.$unuseAll().foo.update({ where: { id: 1 }, data: { bar: { create: { id: 1, y: 0 } } } });
298
await expect(db.foo.findMany()).resolves.toHaveLength(1);
299
});
300
0 commit comments