Cleaned up tests

This commit is contained in:
Daniel
2020-04-06 09:12:59 +02:00
parent caca6995a1
commit ef520571d5
11 changed files with 289 additions and 274 deletions

View File

@@ -1,6 +1,6 @@
describe('Hello world!', () => {
const { GET, expect } = require('@capire/tests').launch('cds serve', __dirname+'/../hello/world.cds', '')
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')`