| | |
| | | /* eslint-disable */ |
| | | import { shallow } from "@vue/test-utils"; |
| | | import Todo from "@/views/Todo.vue"; |
| | | import Header from "@/components/Header.vue"; |
| | |
| | | import * as all from "../setup.js"; |
| | | |
| | | describe("Todo.vue", () => { |
| | | it("should render like the snapshot", () => { |
| | | it("should render the html layout like the snapshot (see /__snapshots__/Todo.spec.js.snap)", () => { |
| | | const wrapper = shallow(Todo); |
| | | expect(wrapper.element).toMatchSnapshot(); |
| | | }); |
| | |
| | | const wrapper = shallow(Todo); |
| | | expect(wrapper.find(XofYItems)).toBeTruthy(); |
| | | }); |
| | | // NEW TEST GOES HERE |
| | | }); |