Vue-test-utils: <router-view/> gives <vuecomponent-stub /> instead of <routerview-stub /> in snapshot

Created on 3 Jul 2018  ·  4Comments  ·  Source: vuejs/vue-test-utils

Version

1.0.0-beta.20

Reproduction link

https://codesandbox.io/s/j3688pr1y

Steps to reproduce

The snapshot generates by :
<router-view/>is <vuecomponent-stub />
<router-link/>is <vuecomponent-stub />

What is expected?

<routerview-stub />
<routerlink-stub />

What is actually happening?

<vuecomponent-stub />

Most helpful comment

The end of this weekend

All 4 comments

Thanks for the bug report.

This has actually been fixed already and will be included in the next release.

@eddyerburgh is this going to be released anytime soon?

The end of this weekend

Awesome, works like a charm @eddyerburgh!

Was this page helpful?
0 / 5 - 0 ratings