Open DetachHead opened 3 years ago
Same like #306 - testing related code wasn't in focus of TS API support so far.
BTW: the jsUnitTestSuite
is really legacy code - I don't think we should propagate it further. This is related to one of the early stuff from more than a decade back... 😁 There is a new more declarative way, which we didn't describe so far yet, e.g.:
https://github.com/SAP/openui5/blob/master/src/sap.f/test/sap/f/qunit/testsuite.qunit.html https://github.com/SAP/openui5/blob/master/src/sap.f/test/sap/f/qunit/testsuite.qunit.js
The usage of the old testsuite code is related to the following "Worklist" walkthrough example: https://github.com/SAP/openui5/blob/2bba4ea6a49332575a87de443efdc6893d66b153/src/sap.m/test/sap/m/demokit/tutorial/worklist/06/webapp/test/testsuite.qunit.js
@codeworrior : we should also consider to update the walkthroughs with the latest declarative qunit testsuites.
ie. how would i convert this to typescript?