Enable cds watch hello

by moving the `hello` implementation into the subfolder `srv`
This commit is contained in:
Pierre Fritsch
2021-08-03 15:31:03 +02:00
committed by Daniel Hutzel
parent e1052c209b
commit ae09caf7ad
9 changed files with 50 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ process.env.CDS_TYPESCRIPT = 'true';
import * as cds from '@sap/cds';
//@ts-ignore
const {GET} = cds.test.in(__dirname,'..').run('serve', 'world.cds');
const {GET} = cds.test.in(__dirname,'../srv').run('serve', 'world.cds');
describe('Hello world!', () => {
afterAll(() => { delete process.env.CDS_TYPESCRIPT; });