()
| 392 | }) |
| 393 | const Comp = defineComponent({ |
| 394 | created() { |
| 395 | const getter = () => this.count |
| 396 | captureValue(getter()) // sets dummy to 1 |
| 397 | const stop = this.$watch(getter, watchCallback) |
| 398 | stop() |
| 399 | this.count = 2 // shouldn't trigger side effect |
| 400 | }, |
| 401 | render() { |
| 402 | return h('div', this.count) |
| 403 | }, |
nothing calls this directly
no test coverage detected