Skip to content
Snippets Groups Projects
Commit f2df7346 authored by Titus Netland's avatar Titus Netland
Browse files

Project folder and file restructuring/renaming 4

parent 15ed563f
No related branches found
No related tags found
1 merge request!51Project restructure
Pipeline #177613 passed
...@@ -67,7 +67,7 @@ const routes = [ ...@@ -67,7 +67,7 @@ const routes = [
{ {
path: "/createNewGroup", path: "/createNewGroup",
name: "createNewGroup", name: "createNewGroup",
component: () => import("../views/FormViews/NewCommunityView.vue"), component: () => import("../views/CommunityViews/NewCommunityView.vue"),
}, },
{ {
path: "/group/:id/memberlist", path: "/group/:id/memberlist",
...@@ -78,13 +78,13 @@ const routes = [ ...@@ -78,13 +78,13 @@ const routes = [
{ {
path: "/addNewItem", path: "/addNewItem",
name: "addNewItem", name: "addNewItem",
component: () => import("../views/FormViews/NewItemView.vue"), component: () => import("../views/CommunityViews/NewItemView.vue"),
beforeEnter: guardRoute, beforeEnter: guardRoute,
}, },
{ {
path: "/notifications", path: "/notifications",
name: "notifications", name: "notifications",
component: () => import("../views/FormViews/NotificationView.vue"), component: () => import("../views/NavigationViews/NotificationView.vue"),
beforeEnter: guardRoute, beforeEnter: guardRoute,
}, },
{ {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import NewCommunity from "@/components/FormComponents/NewCommunityForm"; import NewCommunity from "@/components/CommunityComponents/NewCommunityForm";
export default { export default {
name: "CreateNewGroupView.vue", name: "CreateNewGroupView.vue",
components: { components: {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import AddNewItem from "@/components/FormComponents/NewItemForm"; import AddNewItem from "@/components/CommunityComponents/NewItemForm";
export default { export default {
name: "AddNewItemView.vue", name: "AddNewItemView.vue",
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</template> </template>
<script> <script>
import NotificationsForm from "@/components/FormComponents/NotificationsForm"; import NotificationsForm from "@/components/NavigationComponents/NotificationsForm";
export default { export default {
name: "NotificationView.vue", name: "NotificationView.vue",
......
import { shallowMount } from "@vue/test-utils"; import { shallowMount } from "@vue/test-utils";
import AddNewItem from "@/components/FormComponents/NewItemForm.vue"; import AddNewItem from "@/components/CommunityComponents/NewItemForm.vue";
describe("addNewItem elements rendering", () => { describe("addNewItem elements rendering", () => {
it("renders all labels", () => { it("renders all labels", () => {
......
import { shallowMount } from "@vue/test-utils"; import { shallowMount } from "@vue/test-utils";
import CreateNewGroup from "@/components/FormComponents/NewCommunityForm.vue"; import CreateNewGroup from "@/components/CommunityComponents/NewCommunityForm.vue";
describe("CreateNewGroup elements rendering", () => { describe("CreateNewGroup elements rendering", () => {
it("renders all labels", () => { it("renders all labels", () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment