(func: (...any: Array<any>) => unknown)
| 12 | let options: OptionsReceived; |
| 13 | |
| 14 | function fnNameFor(func: (...any: Array<any>) => unknown) { |
| 15 | if (func.name) { |
| 16 | return func.name; |
| 17 | } |
| 18 | |
| 19 | const matches = func.toString().match(/^\s*function\s*(\w*)\s*\(/); |
| 20 | return matches ? matches[1] : '<anonymous>'; |
| 21 | } |
| 22 | |
| 23 | beforeEach(() => { |
| 24 | options = {plugins: [AsymmetricMatcher]}; |
no test coverage detected