()
| 120 | let proxy; |
| 121 | proxy = new Proxy({}, { |
| 122 | getPrototypeOf() { |
| 123 | calls += 1; |
| 124 | if (calls > 5) { |
| 125 | throw new Error('cycled'); |
| 126 | } |
| 127 | return proxy; |
| 128 | } |
| 129 | }); |
| 130 | |
| 131 | expect(utils.hasOwnInPrototypeChain(proxy, 'missing')).toEqual(false); |
no outgoing calls
no test coverage detected