2020-06-02から1日間の記事一覧
参考にさせていただいたページ mount() | Vue Test Utils サンプルコード たとえばMyComponentの子コンポーネントHogeComponentを置き換えたい場合は、mountするときに以下のようにします。 wrapper = mount(MyComponent, { stubs: { HogeComponent: { templ…
参考にさせていただいたページ mount() | Vue Test Utils サンプルコード たとえばMyComponentの子コンポーネントHogeComponentを置き換えたい場合は、mountするときに以下のようにします。 wrapper = mount(MyComponent, { stubs: { HogeComponent: { templ…