initial NearBeach
This commit is contained in:
27
NearBeach/tests/unit/modules/ParentModules.unit.js
Normal file
27
NearBeach/tests/unit/modules/ParentModules.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import ParentModules from "/src/js/components/modules/ParentModules.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' ParentModules.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(ParentModules, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import AssignedSprints from "/src/js/components/modules/sub_modules/AssignedSprints.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' AssignedSprints.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(AssignedSprints, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import AssociatedObjects from "/src/js/components/modules/sub_modules/AssociatedObjects.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' AssociatedObjects.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(AssociatedObjects, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/sub_modules/BugsModule.unit.js
Normal file
27
NearBeach/tests/unit/modules/sub_modules/BugsModule.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import BugsModule from "/src/js/components/modules/sub_modules/BugsModule.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' BugsModule.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(BugsModule, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import ChildSprints from "/src/js/components/modules/sub_modules/ChildSprints.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' ChildSprints.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(ChildSprints, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import CustomersListModule from "/src/js/components/modules/sub_modules/CustomersListModule.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' CustomersListModule.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(CustomersListModule, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import CustomersModule from "/src/js/components/modules/sub_modules/CustomersModule.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' CustomersModule.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(CustomersModule, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,32 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import DocumentsModule from "/src/js/components/modules/sub_modules/DocumentsModule.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('ChangeTaskModules.vue - rendering component.', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(DocumentsModule, {
|
||||
props: {
|
||||
overrideDestination:"",
|
||||
overrideLocationId:0,
|
||||
readOnly:false,
|
||||
},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
});
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import GroupsAndUsersModule from "/src/js/components/modules/sub_modules/GroupsAndUsersModule.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' GroupsAndUsersModule.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(GroupsAndUsersModule, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/sub_modules/ListNotes.unit.js
Normal file
27
NearBeach/tests/unit/modules/sub_modules/ListNotes.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import ListNotes from "/src/js/components/modules/sub_modules/ListNotes.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' ListNotes.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(ListNotes, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import ListPublicLinks from "/src/js/components/modules/sub_modules/ListPublicLinks.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' ListPublicLinks.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(ListPublicLinks, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/sub_modules/ListSprints.unit.js
Normal file
27
NearBeach/tests/unit/modules/sub_modules/ListSprints.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import ListSprints from "/src/js/components/modules/sub_modules/ListSprints.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' ListSprints.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(ListSprints, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import ListTagsModule from "/src/js/components/modules/sub_modules/ListTagsModule.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' ListTagsModule.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(ListTagsModule, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/sub_modules/MiscModule.unit.js
Normal file
27
NearBeach/tests/unit/modules/sub_modules/MiscModule.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import MiscModule from "/src/js/components/modules/sub_modules/MiscModule.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' MiscModule.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(MiscModule, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/sub_modules/NotesModule.unit.js
Normal file
27
NearBeach/tests/unit/modules/sub_modules/NotesModule.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import NotesModule from "/src/js/components/modules/sub_modules/NotesModule.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' NotesModules.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(NotesModule, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/sub_modules/ObjectLinks.unit.js
Normal file
27
NearBeach/tests/unit/modules/sub_modules/ObjectLinks.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import ObjectLinks from "/src/js/components/modules/sub_modules/ObjectLinks.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' ObjectLinks.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(ObjectLinks, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import RenderSprintCard from "/src/js/components/modules/sub_modules/RenderSprintCard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' RenderSprintCard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(RenderSprintCard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import RequirementItemLinksModule from "/src/js/components/modules/sub_modules/RequirementItemLinksModule.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' RequirementItemLinksModule.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(RequirementItemLinksModule, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,30 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import RequirementItemsModule from "/src/js/components/modules/sub_modules/RequirementItemsModule.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('RequirementItemsModule.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(RequirementItemsModule, {
|
||||
props: {
|
||||
destination: "project",
|
||||
locationId: 1,
|
||||
},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import RequirementLinksModule from "/src/js/components/modules/sub_modules/RequirementLinksModule.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' RequirementLinksModule.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(RequirementLinksModule, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import SubObjectLinks from "/src/js/components/modules/sub_modules/SubObjectLinks.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe(' SubObjectLinks.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(SubObjectLinks, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/wizards/AddBugWizard.unit.js
Normal file
27
NearBeach/tests/unit/modules/wizards/AddBugWizard.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import AddBugWizard from "/src/js/components/modules/wizards/AddBugWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('AddBugWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(AddBugWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import AddCustomerWizard from "/src/js/components/modules/wizards/AddCustomerWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('AddCustomerWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(AddCustomerWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/wizards/AddFolderWizard.unit.js
Normal file
27
NearBeach/tests/unit/modules/wizards/AddFolderWizard.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import AddFolderWizard from "/src/js/components/modules/wizards/AddFolderWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('AddFolderWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(AddFolderWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/wizards/AddGroupWizard.unit.js
Normal file
27
NearBeach/tests/unit/modules/wizards/AddGroupWizard.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import AddGroupWizard from "/src/js/components/modules/wizards/AddGroupWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('AddGroupWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(AddGroupWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/wizards/AddLinkWizard.unit.js
Normal file
27
NearBeach/tests/unit/modules/wizards/AddLinkWizard.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import AddLinkWizard from "/src/js/components/modules/wizards/AddLinkWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('AddLinkWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(AddLinkWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/wizards/AddTagWizard.unit.js
Normal file
27
NearBeach/tests/unit/modules/wizards/AddTagWizard.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import AddTagWizard from "/src/js/components/modules/wizards/AddTagWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('AddTagWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(AddTagWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/wizards/AddUserWizard.unit.js
Normal file
27
NearBeach/tests/unit/modules/wizards/AddUserWizard.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import AddUserWizard from "/src/js/components/modules/wizards/AddUserWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('AddUserWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(AddUserWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import ConfirmFileDelete from "/src/js/components/modules/wizards/ConfirmFileDelete.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('ConfirmFileDelete.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(ConfirmFileDelete, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import ConfirmLinkDelete from "/src/js/components/modules/wizards/ConfirmLinkDelete.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('ConfirmLinkDelete.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(ConfirmLinkDelete, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import NewChangeTaskLinkWizard from "/src/js/components/modules/wizards/NewChangeTaskLinkWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('NewChangeTaskLinkWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(NewChangeTaskLinkWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import NewHistoryNoteWizard from "/src/js/components/modules/wizards/NewHistoryNoteWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('NewHistoryNoteWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(NewHistoryNoteWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
32
NearBeach/tests/unit/modules/wizards/NewKanbanCard.unit.js
Normal file
32
NearBeach/tests/unit/modules/wizards/NewKanbanCard.unit.js
Normal file
@@ -0,0 +1,32 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import NewKanbanCard from "/src/js/components/modules/wizards/NewKanbanCard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('NewKanbanCard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(NewKanbanCard, {
|
||||
props: {
|
||||
columnResults:[{"model":"NearBeach.kanbancolumn","pk":31,"fields":{"kanban_column_name":"Backlog","kanban_column_property":"Normal","kanban_column_sort_number":0,"kanban_board":7,"date_created":"2023-11-06T09:29:54.639Z","date_modified":"2023-11-06T09:29:54.639Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":32,"fields":{"kanban_column_name":"Blocked","kanban_column_property":"Blocked","kanban_column_sort_number":1,"kanban_board":7,"date_created":"2023-11-06T09:29:54.640Z","date_modified":"2023-11-06T09:29:54.640Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":33,"fields":{"kanban_column_name":"In Progress","kanban_column_property":"Normal","kanban_column_sort_number":2,"kanban_board":7,"date_created":"2023-11-06T09:29:54.642Z","date_modified":"2023-11-06T09:29:54.642Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":34,"fields":{"kanban_column_name":"Review and QA","kanban_column_property":"Normal","kanban_column_sort_number":3,"kanban_board":7,"date_created":"2023-11-06T09:29:54.644Z","date_modified":"2023-11-06T09:29:54.644Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":35,"fields":{"kanban_column_name":"Completed","kanban_column_property":"Closed","kanban_column_sort_number":4,"kanban_board":7,"date_created":"2023-11-06T09:29:54.646Z","date_modified":"2023-11-06T09:29:54.646Z","change_user":2,"is_deleted":false}}],
|
||||
kanbanBoardResults:[{"model":"NearBeach.kanbanboard","pk":7,"fields":{"kanban_board_name":"Opened KAB","requirement":null,"kanban_board_status":"Open","date_created":"2023-11-06T09:29:54.636Z","date_modified":"2023-11-06T09:29:54.636Z","change_user":2,"creation_user":2,"is_deleted":false}}],
|
||||
kanbanCardResults:[{"model":"NearBeach.kanbancard","pk":24,"fields":{"kanban_card_text":"asdf","kanban_card_description":"undefined","kanban_card_sort_number":0,"kanban_level":19,"kanban_column":31,"kanban_board":7,"kanban_card_priority":0,"project":null,"task":null,"requirement":null,"is_archived":false,"date_created":"2023-11-06T09:29:58.470Z","date_modified":"2023-11-08T10:24:14.130Z","change_user":2,"is_deleted":false}}],
|
||||
levelResults:[{"model":"NearBeach.kanbanlevel","pk":18,"fields":{"kanban_level_name":"Sprint 1","kanban_level_sort_number":0,"kanban_board":7,"date_created":"2023-11-06T09:29:54.648Z","date_modified":"2023-11-06T09:29:54.648Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbanlevel","pk":19,"fields":{"kanban_level_name":"Sprint 2","kanban_level_sort_number":1,"kanban_board":7,"date_created":"2023-11-06T09:29:54.650Z","date_modified":"2023-11-06T09:29:54.650Z","change_user":2,"is_deleted":false}}],
|
||||
},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,31 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import NewKanbanLinkWizard from "/src/js/components/modules/wizards/NewKanbanLinkWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('NewKanbanLinkWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(NewKanbanLinkWizard, {
|
||||
props: {
|
||||
columnResults: [{"model":"NearBeach.kanbancolumn","pk":31,"fields":{"kanban_column_name":"Backlog","kanban_column_property":"Normal","kanban_column_sort_number":0,"kanban_board":7,"date_created":"2023-11-06T09:29:54.639Z","date_modified":"2023-11-06T09:29:54.639Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":32,"fields":{"kanban_column_name":"Blocked","kanban_column_property":"Blocked","kanban_column_sort_number":1,"kanban_board":7,"date_created":"2023-11-06T09:29:54.640Z","date_modified":"2023-11-06T09:29:54.640Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":33,"fields":{"kanban_column_name":"In Progress","kanban_column_property":"Normal","kanban_column_sort_number":2,"kanban_board":7,"date_created":"2023-11-06T09:29:54.642Z","date_modified":"2023-11-06T09:29:54.642Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":34,"fields":{"kanban_column_name":"Review and QA","kanban_column_property":"Normal","kanban_column_sort_number":3,"kanban_board":7,"date_created":"2023-11-06T09:29:54.644Z","date_modified":"2023-11-06T09:29:54.644Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbancolumn","pk":35,"fields":{"kanban_column_name":"Completed","kanban_column_property":"Closed","kanban_column_sort_number":4,"kanban_board":7,"date_created":"2023-11-06T09:29:54.646Z","date_modified":"2023-11-06T09:29:54.646Z","change_user":2,"is_deleted":false}}],
|
||||
levelResults: [{"model":"NearBeach.kanbanlevel","pk":18,"fields":{"kanban_level_name":"Sprint 1","kanban_level_sort_number":0,"kanban_board":7,"date_created":"2023-11-06T09:29:54.648Z","date_modified":"2023-11-06T09:29:54.648Z","change_user":2,"is_deleted":false}},{"model":"NearBeach.kanbanlevel","pk":19,"fields":{"kanban_level_name":"Sprint 2","kanban_level_sort_number":1,"kanban_board":7,"date_created":"2023-11-06T09:29:54.650Z","date_modified":"2023-11-06T09:29:54.650Z","change_user":2,"is_deleted":false}}],
|
||||
locationId: 1,
|
||||
},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
27
NearBeach/tests/unit/modules/wizards/NewLinkWizard.unit.js
Normal file
27
NearBeach/tests/unit/modules/wizards/NewLinkWizard.unit.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import NewLinkWizard from "/src/js/components/modules/wizards/NewLinkWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('NewLinkWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(NewLinkWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import NewRequirementItemWizard from "/src/js/components/modules/wizards/NewRequirementItemWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('NewRequirementItemWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(NewRequirementItemWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import NewRequirementLinkWizard from "/src/js/components/modules/wizards/NewRequirementLinkWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('NewRequirementLinkWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(NewRequirementLinkWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import UpdateChangeLead from "/src/js/components/modules/wizards/UpdateChangeLead.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('UpdateChangeLead.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(UpdateChangeLead, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
@@ -0,0 +1,27 @@
|
||||
// Vitest
|
||||
import { describe, expect, test } from "vitest";
|
||||
import {mount, VueWrapper} from "@vue/test-utils";
|
||||
|
||||
// Import vue component
|
||||
import UploadDocumentWizard from "/src/js/components/modules/wizards/UploadDocumentWizard.vue";
|
||||
|
||||
// VueX
|
||||
import { store } from "/src/js/vuex-store";
|
||||
|
||||
// Axios
|
||||
const axios = require("axios");
|
||||
|
||||
describe('UploadDocumentWizard.vue - rendering component', () => {
|
||||
//Using mount - insert data
|
||||
const wrapper = mount(UploadDocumentWizard, {
|
||||
props: {},
|
||||
global: {
|
||||
plugins: [store],
|
||||
mocks: {
|
||||
axios,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
test('Empty test', () => {});
|
||||
})
|
||||
Reference in New Issue
Block a user