10 lines
242 B
JavaScript
10 lines
242 B
JavaScript
import { shallowMount } from "@vue/test-utils";
|
|
import Index from "./Index";
|
|
|
|
describe("<Index />", () => {
|
|
test("renders correctly", () => {
|
|
const wrapper = shallowMount(Index);
|
|
expect(wrapper.element).toMatchSnapshot();
|
|
});
|
|
});
|