From 33cd70065ae3aac2e913b1e44a90ca48659b3d7a Mon Sep 17 00:00:00 2001 From: Christian Georgi Date: Tue, 6 Apr 2021 16:23:25 +0200 Subject: [PATCH] Use cds.test --- test/index.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/index.js b/test/index.js index c44d3400..5a4fdd26 100644 --- a/test/index.js +++ b/test/index.js @@ -1,6 +1,2 @@ - -const test = require('@sap/cds/lib/utils/tests').in(__dirname,'..') -module.exports = Object.assign(test,{run:test}) - -// REVISIT: With upcoming release of @sap/cds this should become: -// module.exports = require('@sap/cds/tests').in(__dirname,'..') +const cds = require('@sap/cds') +module.exports = cds.test.in(__dirname,'..')