Replace films page H2 by Studio Ghibli logo
This commit is contained in:
@@ -10,7 +10,7 @@ jest.mock("axios", () => ({
|
||||
describe("Films page", () => {
|
||||
it("should render Films page instance", () => {
|
||||
const wrapper = mount(FilmsView);
|
||||
expect(wrapper.find("h2").text()).toBe("Ghibli films");
|
||||
expect(wrapper.find("img").exists()).toBe(true);
|
||||
});
|
||||
|
||||
it("should get films from Ghibli API", async () => {
|
||||
|
||||
Reference in New Issue
Block a user