Refactor films/_id to use vuex
This commit is contained in:
@@ -23,7 +23,7 @@ describe("Films page", () => {
|
||||
expect(wrapper.find("img").exists()).toBe(true);
|
||||
});
|
||||
|
||||
it("should get films from Ghibli API", async () => {
|
||||
it("should dispatch getFilms action", async () => {
|
||||
let wrapper = shallowMount(Films, {
|
||||
store,
|
||||
localVue
|
||||
|
||||
Reference in New Issue
Block a user