(method)
| 41 | }; |
| 42 | |
| 43 | function assertEqualName(method) { |
| 44 | try { |
| 45 | assert.strictEqual(console[method].name, method); |
| 46 | } catch { |
| 47 | assert.strictEqual(console[method].name, alternateNames[method]); |
| 48 | } |
| 49 | try { |
| 50 | assert.strictEqual(newInstance[method].name, method); |
| 51 | } catch { |
| 52 | assert.strictEqual(newInstance[method].name, alternateNames[method]); |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | for (const method of methods) { |
| 57 | assertEqualName(method); |
no outgoing calls
no test coverage detected