From 85b9b9d3a3c9d926691c56c76c23b87b6eb06bf6 Mon Sep 17 00:00:00 2001 From: Christian Georgi Date: Tue, 13 Jul 2021 08:36:05 +0200 Subject: [PATCH] Clear process variable after test --- test/hello-world-ts.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/hello-world-ts.test.ts b/test/hello-world-ts.test.ts index 9ecdb25f..bb0b748b 100644 --- a/test/hello-world-ts.test.ts +++ b/test/hello-world-ts.test.ts @@ -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')`