diff --git a/tests/unit/component-tests/community-component-tests/new-item-form.spec.js b/tests/unit/component-tests/community-component-tests/new-item-form.spec.js new file mode 100644 index 0000000000000000000000000000000000000000..4559d4a832accadfd67fd70df516d6a71be8b316 --- /dev/null +++ b/tests/unit/component-tests/community-component-tests/new-item-form.spec.js @@ -0,0 +1,18 @@ +import { mount } from "@vue/test-utils"; +import NewItemForm from "@/components/CommunityComponents/NewItemForm.vue" + +describe("NewItemForm component", () => { + let wrapper; + + beforeEach(() => { + wrapper = mount(NewItemForm); + }); + + it("renders correctly", () => { + expect(wrapper.element).toMatchSnapshot(); + }); + + it("is instantiated", () => { + expect(wrapper.exists()).toBeTruthy(); + }); +}); \ No newline at end of file