()
| 115 | test('component child synchronously updating parent state should trigger parent re-render', async () => { |
| 116 | const App = { |
| 117 | setup() { |
| 118 | const n = ref(0) |
| 119 | provide('foo', n) |
| 120 | return () => { |
| 121 | return [h('div', n.value), h(Child)] |
| 122 | } |
| 123 | }, |
| 124 | } |
| 125 | |
| 126 | const Child = { |