Skip to Content
0
Oct 14 at 02:17 AM

How to Write a Unit Test Suite in SAP Web IDE?

66 Views Last edit Oct 18 at 06:29 AM 5 rev

Hi Experts,

We have a requirement to write a unit test suite in sample-service.test.js (see attached sample-servicetest.txt) by calling functions from sample-service.js (see attached sample-service.txt) in SAP Web IDE. How should the functions from sample-service.js be called in sample-service.test.js so it will be covered by the test using JEST?

Best regards,

Jared


Attachments