(fn)
| 750 | |
| 751 | test('mocked functions match name and length', (t) => { |
| 752 | function getNameAndLength(fn) { |
| 753 | return { |
| 754 | name: Object.getOwnPropertyDescriptor(fn, 'name'), |
| 755 | length: Object.getOwnPropertyDescriptor(fn, 'length'), |
| 756 | }; |
| 757 | } |
| 758 | |
| 759 | function func1() {} |
| 760 | const func2 = function(a) {}; // eslint-disable-line func-style |
no outgoing calls
no test coverage detected
searching dependent graphs…