(test: any, block: Function, otherwise?: Function, withDone = false)
| 40 | } |
| 41 | |
| 42 | function _ifEnvSupports(test: any, block: Function, otherwise?: Function, withDone = false) { |
| 43 | if (withDone) { |
| 44 | return function (done?: Function) { |
| 45 | _runTest(test, block, otherwise, done); |
| 46 | }; |
| 47 | } else { |
| 48 | return function () { |
| 49 | _runTest(test, block, otherwise, undefined); |
| 50 | }; |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | function _runTest(test: any, block: Function, otherwise?: Function, done?: Function) { |
| 55 | const message = test.message || test.name || test; |
no test coverage detected
searching dependent graphs…