1
0
Fork 0
mirror of synced 2024-09-09 22:16:26 +12:00

Fix type error.

This commit is contained in:
Sam Rose 2024-07-01 11:46:35 +01:00
parent 6eb37df92d
commit 5c09d6f41f
No known key found for this signature in database

View file

@ -1940,6 +1940,8 @@ describe.each([
it("successfully finds a row searching with a string", async () => {
await expectQuery({
// @ts-expect-error this test specifically goes against the type to
// test that we coerce the string to an array.
contains: { "1:users": user1._id },
}).toContainExactly([
{ users: [{ _id: user1._id }] },