| 18 | |
| 19 | it('data: $props should be available', () => { |
| 20 | @Options({ |
| 21 | props: ['foo'] |
| 22 | }) |
| 23 | class MyComp extends Vue { |
| 24 | message = 'answer is ' + (this.$props as any).foo |
| 25 | render() { |
| 26 | return h('div', this.message) |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | const wrapper = mount(MyComp, { |
| 31 | props: { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…