I am writing some unit test but I got trouble with component that have inject
property.
I am using shallowMount
. I did some research about this.And there is way to create fake data for provide
https://vue-test-utils.vuejs.org/api/options.html#provide. But, I didn't see any information or hints about inject
.
So, I need some advices about How to do unit test with inject
in Vuejs?