()
| 104 | var runAsync = (_global['__zone_symbol__runAsync'] = function (testFn, times, _delay) { |
| 105 | var delay = _delay | 100; |
| 106 | const fnPromise = function () { |
| 107 | return new Promise(function (res, rej) { |
| 108 | // run test with a setTimeout |
| 109 | // several times to decrease measurement error |
| 110 | setTimeout(function () { |
| 111 | testFn().then(function () { |
| 112 | res(); |
| 113 | }); |
| 114 | }, delay); |
| 115 | }); |
| 116 | }; |
| 117 | var promiseFactories = []; |
| 118 | for (var i = 0; i < times; i++) { |
| 119 | promiseFactories.push({factory: fnPromise, context: {}}); |
nothing calls this directly
no test coverage detected
searching dependent graphs…