Use test API from cds lib instead of custom one

This commit is contained in:
Christian Georgi
2020-10-27 18:03:13 +01:00
committed by Daniel Hutzel
parent 392106d44a
commit 5d64ca3555
9 changed files with 14 additions and 172 deletions

View File

@@ -1,4 +1,5 @@
const cds = require('./cds'),{ expect } = cds.test
const cds = require('@sap/cds/lib')
const { expect } = cds.test
const CQL = ([cql]) => cds.parse.cql(cql)
const Foo = { name: 'Foo' }
const Books = { name: 'capire.bookshop.Books' }