`@sapui5/ts-types-esm` - missing types for `jsUnitTestSuite`?
Open
Nobody has claimed this yet.
types
- Dominant language
- TypeScript
- Stars
- 213
- Forks
- 35
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Description
ie. how would i convert this to typescript?
window.suite = function() {
"use strict";
var oSuite = new parent.jsUnitTestSuite(),
sContextPath = location.pathname.substring(0, location.pathname.lastIndexOf("/") + 1);
oSuite.addTestPage(sContextPath + "unit/unitTests.qunit.html");
oSuite.addTestPage(sContextPath + "integration/opaTests.qunit.html");
return oSuite;
};
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the @sapui5/ts-types-esm declarations for jsUnitTestSuite and compare them with the linked OpenUI5 testsuite.qunit.js example. Confirm the expected TypeScript form for parent.jsUnitTestSuite, addTestPage, and the returned suite, then verify that the converted example type-checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100