MCPcopy Create free account
hub / github.com/microsoft/tslib / testHelper

Function testHelper

test/node/testHelper.js:12–24  ·  view source on GitHub ↗
(helperName, test)

Source from the content-addressed store, hash-verified

10 * @param {(helper: tslibJs[K]) => any} test
11 */
12export function testHelper(helperName, test) {
13 describe(helperName, () => {
14 describe("tslib.js", () => {
15 test(tslibJs[helperName]);
16 });
17 describe("tslib.es6.js", () => {
18 test(tslibEs6Js[helperName]);
19 });
20 describe("tslib.es6.mjs", () => {
21 test(tslibEs6Mjs[helperName]);
22 });
23 });
24}

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…