Fix tests

This commit is contained in:
Adria Navarro 2024-10-11 13:13:34 +02:00
parent f73b7d4824
commit ca7a7bcef9
1 changed files with 21 additions and 24 deletions

View File

@ -2511,11 +2511,9 @@ describe.each([
}
)
it.each([logicalOperators])(
"should allow nested ors with multiple conditions (with %s as root)",
async rootOperator => {
it("should allow nested ors with multiple conditions", async () => {
await expectQuery({
[rootOperator]: {
$or: {
conditions: [
{
$or: {
@ -2534,8 +2532,7 @@ describe.each([
{ name: "bar", productCat: [{ _id: productCatRows[1]._id }] },
// { name: "baz", productCat: undefined }, // TODO
])
}
)
})
})
})
})