Hello CAP Documentation Team,
with #1068 the CAPire documentation on Testing with cds.test was adjusted in the section Running a CAP Server that the cds.test should be started inside a describe:
const cds = require('@sap/cds')
describe(()=>{
const test = cds.test(__dirname+'/..')
})
Not all tests in https://github.com/capire/samples/tree/main/test follow this best practice. I think this needs to be adjusted. For cap-sflight I've filed SAP-samples/cap-sflight#1177.
Best Regards
Gregor