Use cds.test

This commit is contained in:
Christian Georgi
2021-04-06 16:23:25 +02:00
committed by Christian Georgi
parent 450577d5a7
commit 33cd70065a

View File

@@ -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,'..')