Skip to content
Snippets Groups Projects
Select Git revision
  • 7e297f1224472f579bc785226a2470f03d282d69
  • master default
  • maven-setup
  • lectures2021
  • lectures2020
  • antipatterns
  • issue-11-allow-user-to-enter-and-update-metadata-about-the-latlong-points
  • 8-add-pdf-export
  • issue-10-display-latlong-metadata-in-the-fx-ui
  • issue-9-LatLong-meta-data
  • 9-meta-informasjon-knyttet-til-latlong-objekter
  • issue-6-rest-api
  • feature/update-gitignore
  • lectures-2024
  • lectures-2021
  • 2019_materials
16 results

index.adoc

Blame
  • community-header.spec.js 634 B
    import { mount } from "@vue/test-utils";
    import CommunityHeader from "@/components/CommunityComponents/CommunityHeader.vue";
    
    describe("CommunityHeader component", () => {
      let wrapper;
    
      beforeEach(() => {
        wrapper = mount(CommunityHeader, {
          //passing prop to component
          props: {
            adminStatus: true,
            community: {
              communityId: 1,
              name: "String",
              description: "String",
              visibility: 0,
              location: "String",
              picture: "String",
            },
          },
        });
      });
    
      it("is instantiated", () => {
        expect(wrapper.exists()).toBeTruthy();
      });
    });