Create Vehicle component + tests

This commit is contained in:
2020-12-21 22:36:16 +01:00
parent 21f3ed77a4
commit cf9381309e
6 changed files with 115 additions and 8 deletions

View File

@@ -41,7 +41,8 @@ describe("Film page", () => {
store,
computed: {
film: () => mockFilms[0],
people: () => jest.fn()
people: () => jest.fn(),
vehicles: () => jest.fn()
}
});
expect(wrapper.exists()).toBe(true);
@@ -67,7 +68,8 @@ describe("Film page", () => {
store,
computed: {
film: () => mockFilms[0],
people: () => jest.fn()
people: () => jest.fn(),
vehicles: () => jest.fn()
}
});