()
| 649 | } |
| 650 | |
| 651 | function setupExclude() { |
| 652 | const viewRef = ref('one') |
| 653 | const excludeRef = ref('') |
| 654 | const App = { |
| 655 | render() { |
| 656 | return h( |
| 657 | KeepAlive, |
| 658 | { |
| 659 | exclude: excludeRef.value, |
| 660 | }, |
| 661 | () => h(views[viewRef.value]), |
| 662 | ) |
| 663 | }, |
| 664 | } |
| 665 | render(h(App), root) |
| 666 | return { viewRef, excludeRef } |
| 667 | } |
| 668 | |
| 669 | test('on include change', async () => { |
| 670 | const { viewRef, includeRef } = setup() |
no test coverage detected