(wrapperName, realMethod)
| 158 | } |
| 159 | |
| 160 | function methodWrapperFactory(wrapperName, realMethod) { |
| 161 | return copyMethodDescriptors(function wrappedMethod(...rest) { |
| 162 | return realMethod.apply(this, rest); |
| 163 | }, realMethod); |
| 164 | } |
| 165 | |
| 166 | const fakeBasePrototype = Proto => |
| 167 | filteredPrototypeMethods(Proto).reduce((acc, key) => { |
no test coverage detected