Refactor films module
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { mount, shallowMount } from "@vue/test-utils";
|
import { mount, shallowMount } from "@vue/test-utils";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import FilmsView from "@/pages/films";
|
import FilmsView from "./";
|
||||||
import mockFilms from "./fake-films.json";
|
import mockFilms from "@/test/fake-films.json";
|
||||||
|
|
||||||
jest.mock("axios", () => ({
|
jest.mock("axios", () => ({
|
||||||
$get: jest.fn(() => mockFilms)
|
$get: jest.fn(() => mockFilms)
|
||||||
Reference in New Issue
Block a user