Prepare moving test kit over to @sap/cds

This commit is contained in:
Daniel
2020-08-19 09:38:07 +02:00
parent a43ade103c
commit 039f62209c
12 changed files with 171 additions and 182 deletions

View File

@@ -1,6 +1,7 @@
const cds = require ('./cds')
const { GET, expect } = cds.test('serve','hello/world.cds').in(__dirname,'..')
describe('Hello world!', () => {
const { GET, expect } = require('./capire').launch('cds serve', __dirname+'/../hello/world.cds', '')
it('should say hello with class impl', async () => {
const {data} = await GET `/say/hello(to='world')`