cancel
Showing results for 
Search instead for 
Did you mean: 

Missing typescript types "@sap/cds" for cds.test

463

Hi all,

we are developing a CAP application with typescript. Now we want to write tests in typescript (https://cap.cloud.sap/docs/node.js/cds-test#cds-test), but we faced the issue that the @sap/cds import does not provide the cds.test types. Currently we run the tests in a "hybrid" mode (everything is typed except the cds.test() part). Can you tell me when you have planed to deliver the missing types for cds.test?

Thanks a lot!

Bet regards,
Danilo

View Entire Topic
chgeo
Advisor
Advisor
0 Kudos

I am afraid typings aren’t always up to date as @sap/cds is a JavaScript library. See the corresponding note in the docs). I can't tell at the moment when `cds.test` typings will be added. Contributions are always welcome.

0 Kudos

Hi Christian,

any update in that area?

Regards,

Kamil