Clear process variable after test
This commit is contained in:
@@ -5,6 +5,7 @@ import * as cds from '@sap/cds';
|
||||
const {GET} = cds.test.in(__dirname,'../hello').run('serve', 'world.cds')
|
||||
|
||||
describe('Hello world!', () => {
|
||||
afterAll(() => { delete process.env.CDS_TYPESCRIPT; });
|
||||
|
||||
it('should say hello with class impl from a typescript file', async () => {
|
||||
const {data} = await GET`/say/hello(to='world')`
|
||||
|
||||
Reference in New Issue
Block a user