(element, prop, targetValue)
| 70 | }); |
| 71 | |
| 72 | function waitForProp(element, prop, targetValue) { |
| 73 | return new Promise((resolve) => { |
| 74 | subscribe(element, [prop], (value) => { |
| 75 | if (value == targetValue) { |
| 76 | resolve(); |
| 77 | } |
| 78 | }); |
| 79 | }); |
| 80 | } |
| 81 | |
| 82 | it('preact ref passing vnode smoke test', () => { |
| 83 | function App() { |
no test coverage detected