diff --git a/packages/server/src/api/routes/tests/search.spec.ts b/packages/server/src/api/routes/tests/search.spec.ts index bc253ad78e..5b98347953 100644 --- a/packages/server/src/api/routes/tests/search.spec.ts +++ b/packages/server/src/api/routes/tests/search.spec.ts @@ -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 }] },