docs
docs copied to clipboard
Adjust all tests of cloud-cap-samples to start test server inside describ
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 https://github.com/SAP-samples/cap-sflight/issues/1177.
Best Regards Gregor
Hi Gregor,
Thank you for reporting the issue, I'll check and update as necessary.
Best regards, Mahati