(_ioCallback, opts)
| 349 | it('should choose best InOb possible before and after upgrade, as well as upgrade rootdoc stubs.', async () => { |
| 350 | const {win} = env; |
| 351 | function NativeInOb(_ioCallback, opts) { |
| 352 | if (opts && opts.root && opts.root.nodeType === 9) { |
| 353 | throw new Error('May not have root:document'); |
| 354 | } |
| 355 | } |
| 356 | win.IntersectionObserver = NativeInOb; |
| 357 | const docRoot = {root: {nodeType: 9}}; |
| 358 |
nothing calls this directly
no outgoing calls
no test coverage detected