Skip to content

Commit 3eba80a

Browse files
committed
fix test
1 parent e497061 commit 3eba80a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/test/client-api/find.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ describe.each(createClientSpecs(PG_DB_NAME))('Client find tests for $provider',
869869
// @ts-expect-error
870870
include: { author: { where: { email: user.email } } },
871871
}),
872-
).rejects.toThrow(`Field "author" doesn't support filtering`);
872+
).rejects.toThrow(`Invalid find args`);
873873

874874
// sorting
875875
let u = await client.user.findUniqueOrThrow({

0 commit comments

Comments
 (0)