Re-enabling tests for cds.ql where clauses fix (#403)

This commit is contained in:
Daniel Hutzel
2022-09-20 16:52:40 +02:00
committed by GitHub
parent 47655c5f48
commit 36b339a362

View File

@@ -411,7 +411,7 @@ describe('cds.ql → cqn', () => {
] ]
}}) }})
const ql_with_groups_fix = false const ql_with_groups_fix = !!cds.ql.Query.prototype.flat
if (ql_with_groups_fix) { if (ql_with_groups_fix) {
expect ( expect (
@@ -460,7 +460,7 @@ describe('cds.ql → cqn', () => {
}}) }})
expect ( expect (
SELECT.from(Foo).where({x:1,or:{y:2}}) { SELECT: SELECT.from(Foo).where({x:1,or:{y:2}}).SELECT }
).to.eql ({ SELECT: { ).to.eql ({ SELECT: {
from: {ref:['Foo']}, from: {ref:['Foo']},
where: [ where: [