fix(refactor): add services/adapters/useCases

This commit is contained in:
2024-03-06 12:46:19 +03:00
parent e8609ee6d4
commit 4b6cda8632
25 changed files with 769 additions and 50 deletions

View File

@@ -8,7 +8,8 @@ import axios from "axios";
vi.mock('axios')
describe("tests SitesManagerPage component mounted with vuex", () => {
describe("tests App mounted with vuex", () => {
const store = createStore({
plugins: [],
modules: {
@@ -17,6 +18,8 @@ describe("tests SitesManagerPage component mounted with vuex", () => {
},
})
const mockData = [
{
"id": 1,
@@ -32,7 +35,6 @@ describe("tests SitesManagerPage component mounted with vuex", () => {
data: mockData,
})
test('tests App mounted with vuex', async () => {
const wrapper = mount(Sites, {
shallow: true,