Fix tests
This commit is contained in:
parent
f73b7d4824
commit
ca7a7bcef9
|
@ -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
|
||||
])
|
||||
}
|
||||
)
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue