Improve tests to also work with node --test

This commit is contained in:
Daniel Hutzel
2024-05-14 14:37:37 +02:00
parent 0f6809a45b
commit aaa94e2d5f
4 changed files with 84 additions and 87 deletions

View File

@@ -1,7 +1,8 @@
const cds = require('@sap/cds/lib')
const { expect } = cds.test
describe('cds.ql → cqn', () => {
const cds = require('@sap/cds/lib')
const { expect } = cds.test
const Foo = { name: 'Foo' }
const Books = { name: 'capire.bookshop.Books' }