()
| 29 | let assertMap; |
| 30 | |
| 31 | function getAssertionMap() { |
| 32 | if (assertMap === undefined) { |
| 33 | assertMap = new SafeMap(); |
| 34 | |
| 35 | for (let i = 0; i < methodsToCopy.length; i++) { |
| 36 | assertMap.set(methodsToCopy[i], assert[methodsToCopy[i]]); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | return assertMap; |
| 41 | } |
| 42 | |
| 43 | function register(name, fn) { |
| 44 | validateString(name, 'name'); |
no test coverage detected
searching dependent graphs…