@geode/opengeodeweb-front 9.15.0-rc.1 → 10.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{assets → app/assets}/geode_objects.js +25 -25
- package/{components → app/components}/ExtensionSelector.vue +3 -0
- package/{components → app/components}/FileSelector.vue +14 -1
- package/{components → app/components}/FileUploader.vue +9 -1
- package/{components → app/components}/HybridRenderingView.vue +2 -0
- package/{components → app/components}/Inspector/ResultPanel.vue +2 -0
- package/{components → app/components}/Launcher.vue +3 -2
- package/{components → app/components}/Loading.vue +13 -11
- package/{components → app/components}/MissingFilesSelector.vue +3 -0
- package/{components → app/components}/ObjectSelector.vue +3 -1
- package/{components → app/components}/PackagesVersions.vue +1 -1
- package/{components → app/components}/Recaptcha.vue +3 -1
- package/{components → app/components}/RemoteRenderingView.vue +4 -2
- package/{components → app/components}/Stepper.vue +2 -0
- package/{components → app/components}/VeaseViewToolbar.vue +3 -0
- package/{components → app/components}/ViewToolbar.vue +2 -0
- package/{components → app/components}/Viewer/EdgedCurve/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/EdgedCurve/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Generic/Mesh/EdgesOptions.vue +4 -0
- package/{components → app/components}/Viewer/Generic/Mesh/PointsOptions.vue +4 -0
- package/{components → app/components}/Viewer/Generic/Mesh/PolygonsOptions.vue +4 -0
- package/{components → app/components}/Viewer/Generic/Mesh/PolyhedraOptions.vue +4 -0
- package/{components → app/components}/Viewer/Generic/Model/EdgesOptions.vue +3 -1
- package/{components → app/components}/Viewer/Generic/Model/PointsOptions.vue +3 -1
- package/{components → app/components}/Viewer/Grid/2D/CellsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/2D/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/2D/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/3D/CellsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/3D/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/3D/FacetsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Grid/3D/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/HybridSolid/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/HybridSolid/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/HybridSolid/PolygonsOptions.vue +2 -1
- package/{components → app/components}/Viewer/HybridSolid/PolyhedraOptions.vue +2 -1
- package/{components → app/components}/Viewer/Options/ColoringTypeSelector.vue +7 -1
- package/{components → app/components}/Viewer/Options/TextureItem.vue +1 -0
- package/{components → app/components}/Viewer/Options/TexturesSelector.vue +4 -3
- package/{components → app/components}/Viewer/PointSet/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/PointSet/SpecificPointsOptions.vue +3 -0
- package/{components → app/components}/Viewer/PolygonalSurface/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/PolygonalSurface/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/PolygonalSurface/PolygonsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Solid/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/Solid/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Solid/PolygonsOptions.vue +2 -1
- package/{components → app/components}/Viewer/Solid/PolyhedraOptions.vue +2 -1
- package/{components → app/components}/Viewer/TetrahedralSolid/TetrahedraOptions.vue +2 -1
- package/{components → app/components}/Viewer/TetrahedralSolid/TrianglesOptions.vue +2 -1
- package/{components → app/components}/Viewer/Tree/ObjectTree.vue +4 -0
- package/{components → app/components}/Viewer/TriangulatedSurface/EdgesOptions.vue +2 -1
- package/{components → app/components}/Viewer/TriangulatedSurface/PointsOptions.vue +2 -1
- package/{components → app/components}/Viewer/TriangulatedSurface/TrianglesOptions.vue +2 -1
- package/{components → app/components}/Wrapper.vue +7 -1
- package/{composables → app/composables}/api_fetch.js +1 -0
- package/{composables → app/composables}/project_manager.js +12 -27
- package/{composables → app/composables}/viewer_call.js +2 -0
- package/{stores → app/stores}/geode.js +5 -4
- package/{stores → app/stores}/hybrid_viewer.js +1 -1
- package/{stores → app/stores}/infra.js +5 -4
- package/{stores → app/stores}/menu.js +24 -24
- package/{stores → app/stores}/viewer.js +5 -4
- package/nuxt.config.js +2 -2
- package/package.json +1 -1
- package/scripts/generate_geode_objects.js +1 -1
- package/tests/integration/setup.js +7 -7
- package/tests/integration/stores/data_style/mesh/edges.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/mesh/index.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/mesh/points.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/mesh/polygons.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/mesh/polyhedra.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/model/blocks.nuxt.test.js +34 -32
- package/tests/integration/stores/data_style/model/corners.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/model/edges.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/model/index.nuxt.test.js +7 -5
- package/tests/integration/stores/data_style/model/lines.nuxt.test.js +7 -4
- package/tests/integration/stores/data_style/model/points.nuxt.test.js +9 -5
- package/tests/integration/stores/data_style/model/surfaces.nuxt.test.js +7 -5
- package/tests/unit/components/CrsSelector.nuxt.test.js +1 -1
- package/tests/unit/components/ExtensionSelector.nuxt.test.js +1 -1
- package/tests/unit/components/FeedBack/ErrorsBanner.nuxt.test.js +1 -1
- package/tests/unit/components/FeedBack/Snackers.nuxt.test.js +1 -1
- package/tests/unit/components/FileSelector.nuxt.test.js +2 -2
- package/tests/unit/components/FileUploader.nuxt.test.js +1 -1
- package/tests/unit/components/Inspector/InspectionButton.nuxt.test.js +1 -1
- package/tests/unit/components/Inspector/ResultPanel.nuxt.test.js +1 -1
- package/tests/unit/components/Launcher.nuxt.test.js +1 -1
- package/tests/unit/components/MissingFilesSelector.nuxt.test.js +2 -2
- package/tests/unit/components/ObjectSelector.nuxt.test.js +1 -1
- package/tests/unit/components/PackagesVersions.nuxt.test.js +1 -1
- package/tests/unit/components/Step.nuxt.test.js +2 -2
- package/tests/unit/components/Stepper.nuxt.test.js +2 -2
- package/tests/unit/components/Wrapper.nuxt.test.js +2 -2
- package/tests/unit/composables/ProjectManager.nuxt.test.js +51 -17
- package/tests/unit/composables/run_function_when_microservices_connected.nuxt.test.js +1 -1
- package/tests/unit/composables/upload_file.nuxt.test.js +1 -1
- package/tests/unit/plugins/project_load.nuxt.test.js +1 -1
- package/tests/unit/stores/Appstore.nuxt.test.js +0 -1
- package/tests/unit/stores/Feedback.nuxt.test.js +1 -1
- package/tests/unit/stores/Geode.nuxt.test.js +12 -11
- package/tests/unit/stores/Infra.nuxt.test.js +6 -5
- package/tests/unit/stores/Viewer.nuxt.test.js +4 -4
- package/tests/unit/utils/recaptcha.nuxt.test.js +1 -1
- package/tests/unit/utils/validate_schema.nuxt.test.js +1 -1
- /package/{assets → app/assets}/img/energy_sobriety/chemin.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/collegue.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/derniere.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/etincelle.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/geste.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/lampadaire.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/salon.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/sobene.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/socle.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/vert.png +0 -0
- /package/{assets → app/assets}/img/energy_sobriety/ying_yang.png +0 -0
- /package/{assets → app/assets}/img/geode_objects/BRep.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/CrossSection.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/EdgedCurve2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/EdgedCurve3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/Graph.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/HybridSolid3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/ImplicitCrossSection.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/ImplicitStructuralModel.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/LightRegularGrid2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/LightRegularGrid3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/PointSet2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/PointSet3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/PolygonalSurface2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/PolygonalSurface3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/PolyhedralSolid3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/RasterImage2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/RasterImage3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/RegularGrid2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/RegularGrid3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/Section.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/StructuralModel.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/TetrahedralSolid3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/TriangulatedSurface2D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/TriangulatedSurface3D.svg +0 -0
- /package/{assets → app/assets}/img/geode_objects/VertexSet.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/edged_curve_edges.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/edged_curve_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_2d_cells.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_2d_edges.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_2d_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_3d_cells.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_3d_edges.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_3d_facets.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/grid_3d_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/point_set_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/solid_edges.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/solid_facets.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/solid_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/solid_polyhedra.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/surface_edges.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/surface_points.svg +0 -0
- /package/{assets → app/assets}/viewer_svgs/surface_triangles.svg +0 -0
- /package/{components → app/components}/Carousel.vue +0 -0
- /package/{components → app/components}/CrsSelector.vue +0 -0
- /package/{components → app/components}/FeedBack/ErrorBanner.vue +0 -0
- /package/{components → app/components}/FeedBack/Snackers.vue +0 -0
- /package/{components → app/components}/FetchingData.vue +0 -0
- /package/{components → app/components}/InfraConnected.vue +0 -0
- /package/{components → app/components}/Inspector/InspectionButton.vue +0 -0
- /package/{components → app/components}/Screenshot.vue +0 -0
- /package/{components → app/components}/Step.vue +0 -0
- /package/{components → app/components}/Viewer/BreadCrumb.vue +0 -0
- /package/{components → app/components}/Viewer/ContextMenu.vue +0 -0
- /package/{components → app/components}/Viewer/ContextMenuItem.vue +0 -0
- /package/{components → app/components}/Viewer/Options/ColorPicker.vue +0 -0
- /package/{components → app/components}/Viewer/Options/PolygonAttributeSelector.vue +0 -0
- /package/{components → app/components}/Viewer/Options/PolyhedronAttributeSelector.vue +0 -0
- /package/{components → app/components}/Viewer/Options/VertexAttributeSelector.vue +0 -0
- /package/{components → app/components}/Viewer/Options/VisibilitySwitch.vue +0 -0
- /package/{components → app/components}/Viewer/TreeComponent.vue +0 -0
- /package/{components → app/components}/Viewer/TreeObject.vue +0 -0
- /package/{components → app/components}/ZScaling.vue +0 -0
- /package/{composables → app/composables}/run_function_when_microservices_connected.js +0 -0
- /package/{composables → app/composables}/upload_file.js +0 -0
- /package/{plugins → app/plugins}/auto_store_register.js +0 -0
- /package/{stores → app/stores}/app.js +0 -0
- /package/{stores → app/stores}/data_base.js +0 -0
- /package/{stores → app/stores}/data_style.js +0 -0
- /package/{stores → app/stores}/feedback.js +0 -0
- /package/{stores → app/stores}/treeview.js +0 -0
- /package/{utils → app/utils}/app_mode.js +0 -0
- /package/{utils → app/utils}/default_styles.js +0 -0
- /package/{utils → app/utils}/file_import_workflow.js +0 -0
- /package/{utils → app/utils}/local.js +0 -0
- /package/{utils → app/utils}/recaptcha.js +0 -0
- /package/{utils → app/utils}/status.js +0 -0
- /package/{utils → app/utils}/validate_schema.js +0 -0
|
@@ -3,11 +3,13 @@ import { afterEach, beforeEach, describe, expect, test, vi } from "vitest"
|
|
|
3
3
|
import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" }
|
|
4
4
|
|
|
5
5
|
// Local imports
|
|
6
|
-
import Status from "
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
import Status from "@ogw_front/utils/status"
|
|
7
|
+
import {
|
|
8
|
+
delete_folder_recursive,
|
|
9
|
+
kill_back,
|
|
10
|
+
kill_viewer,
|
|
11
|
+
} from "@ogw_front/utils/local"
|
|
12
|
+
import * as composables from "@ogw_front/composables/viewer_call"
|
|
11
13
|
import { setupIntegrationTests } from "../../../setup.js"
|
|
12
14
|
|
|
13
15
|
// Local constants
|
|
@@ -62,31 +64,31 @@ describe("Model blocks", () => {
|
|
|
62
64
|
})
|
|
63
65
|
})
|
|
64
66
|
|
|
65
|
-
describe("Blocks color", () => {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
})
|
|
67
|
+
// describe("Blocks color", () => {
|
|
68
|
+
// test("Color red", async () => {
|
|
69
|
+
// const dataStyleStore = useDataStyleStore()
|
|
70
|
+
// const viewerStore = useViewerStore()
|
|
71
|
+
// const dataBaseStore = useDataBaseStore()
|
|
72
|
+
// const block_ids = dataBaseStore.getBlocksUuids(id)
|
|
73
|
+
// const block_flat_indexes = dataBaseStore.getFlatIndexes(id, block_ids)
|
|
74
|
+
// const color = { r: 255, g: 0, b: 0 }
|
|
75
|
+
// const spy = vi.spyOn(composables, "viewer_call")
|
|
76
|
+
// await dataStyleStore.setModelBlocksColor(id, block_ids, color)
|
|
77
|
+
// expect(spy).toHaveBeenCalledWith(
|
|
78
|
+
// {
|
|
79
|
+
// schema: model_blocks_schemas.color,
|
|
80
|
+
// params: { id, block_ids: block_flat_indexes, color },
|
|
81
|
+
// },
|
|
82
|
+
// {
|
|
83
|
+
// response_function: expect.any(Function),
|
|
84
|
+
// },
|
|
85
|
+
// )
|
|
86
|
+
// for (const block_id of block_ids) {
|
|
87
|
+
// expect(dataStyleStore.modelBlockColor(id, block_id)).toStrictEqual(
|
|
88
|
+
// color,
|
|
89
|
+
// )
|
|
90
|
+
// }
|
|
91
|
+
// expect(viewerStore.status).toBe(Status.CONNECTED)
|
|
92
|
+
// })
|
|
93
|
+
// })
|
|
92
94
|
})
|
|
@@ -3,11 +3,13 @@ import { afterEach, beforeEach, describe, expect, test, vi } from "vitest"
|
|
|
3
3
|
import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" }
|
|
4
4
|
|
|
5
5
|
// Local imports
|
|
6
|
-
import Status from "
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
import Status from "@ogw_front/utils/status"
|
|
7
|
+
import {
|
|
8
|
+
delete_folder_recursive,
|
|
9
|
+
kill_back,
|
|
10
|
+
kill_viewer,
|
|
11
|
+
} from "@ogw_front/utils/local"
|
|
12
|
+
import * as composables from "@ogw_front/composables/viewer_call"
|
|
11
13
|
import { setupIntegrationTests } from "../../../setup.js"
|
|
12
14
|
|
|
13
15
|
// Local constants
|
|
@@ -3,11 +3,13 @@ import { afterEach, beforeEach, describe, expect, test, vi } from "vitest"
|
|
|
3
3
|
import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" }
|
|
4
4
|
|
|
5
5
|
// Local imports
|
|
6
|
-
import Status from "
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
import Status from "@ogw_front/utils/status"
|
|
7
|
+
import {
|
|
8
|
+
delete_folder_recursive,
|
|
9
|
+
kill_back,
|
|
10
|
+
kill_viewer,
|
|
11
|
+
} from "@ogw_front/utils/local"
|
|
12
|
+
import * as composables from "@ogw_front/composables/viewer_call"
|
|
11
13
|
import { setupIntegrationTests } from "../../../setup.js"
|
|
12
14
|
|
|
13
15
|
// Local constants
|
|
@@ -3,11 +3,13 @@ import { afterEach, beforeEach, describe, expect, test, vi } from "vitest"
|
|
|
3
3
|
import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" }
|
|
4
4
|
|
|
5
5
|
// Local imports
|
|
6
|
-
import Status from "
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
import Status from "@ogw_front/utils/status"
|
|
7
|
+
import {
|
|
8
|
+
delete_folder_recursive,
|
|
9
|
+
kill_back,
|
|
10
|
+
kill_viewer,
|
|
11
|
+
} from "@ogw_front/utils/local"
|
|
12
|
+
import * as composables from "@ogw_front/composables/viewer_call"
|
|
11
13
|
import { setupIntegrationTests } from "../../../setup.js"
|
|
12
14
|
|
|
13
15
|
// Local constants
|
|
@@ -3,10 +3,13 @@ import { afterEach, beforeEach, describe, expect, test, vi } from "vitest"
|
|
|
3
3
|
import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" }
|
|
4
4
|
|
|
5
5
|
// Local imports
|
|
6
|
-
import Status from "
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
import Status from "@ogw_front/utils/status"
|
|
7
|
+
import {
|
|
8
|
+
delete_folder_recursive,
|
|
9
|
+
kill_back,
|
|
10
|
+
kill_viewer,
|
|
11
|
+
} from "@ogw_front/utils/local"
|
|
12
|
+
import * as composables from "@ogw_front/composables/viewer_call"
|
|
10
13
|
import { setupIntegrationTests } from "../../../setup.js"
|
|
11
14
|
|
|
12
15
|
// Local constants
|
|
@@ -3,11 +3,15 @@ import { afterEach, beforeEach, describe, expect, test, vi } from "vitest"
|
|
|
3
3
|
import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" }
|
|
4
4
|
|
|
5
5
|
// Local imports
|
|
6
|
-
import Status from "
|
|
7
|
-
import * as composables from "
|
|
8
|
-
import { useDataStyleStore } from "
|
|
9
|
-
import { useViewerStore } from "
|
|
10
|
-
import {
|
|
6
|
+
import Status from "@ogw_front/utils/status"
|
|
7
|
+
import * as composables from "@ogw_front/composables/viewer_call"
|
|
8
|
+
import { useDataStyleStore } from "@ogw_front/stores/data_style"
|
|
9
|
+
import { useViewerStore } from "@ogw_front/stores/viewer"
|
|
10
|
+
import {
|
|
11
|
+
delete_folder_recursive,
|
|
12
|
+
kill_back,
|
|
13
|
+
kill_viewer,
|
|
14
|
+
} from "@ogw_front/utils/local"
|
|
11
15
|
import { setupIntegrationTests } from "../../../setup.js"
|
|
12
16
|
|
|
13
17
|
// Local constants
|
|
@@ -3,11 +3,13 @@ import { afterEach, beforeEach, describe, expect, test, vi } from "vitest"
|
|
|
3
3
|
import viewer_schemas from "@geode/opengeodeweb-viewer/opengeodeweb_viewer_schemas.json" with { type: "json" }
|
|
4
4
|
|
|
5
5
|
// Local imports
|
|
6
|
-
import Status from "
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
import Status from "@ogw_front/utils/status"
|
|
7
|
+
import {
|
|
8
|
+
delete_folder_recursive,
|
|
9
|
+
kill_back,
|
|
10
|
+
kill_viewer,
|
|
11
|
+
} from "@ogw_front/utils/local"
|
|
12
|
+
import * as composables from "@ogw_front/composables/viewer_call"
|
|
11
13
|
import { setupIntegrationTests } from "../../../setup.js"
|
|
12
14
|
|
|
13
15
|
// Local constants
|
|
@@ -7,7 +7,7 @@ import { createVuetify } from "vuetify"
|
|
|
7
7
|
import * as components from "vuetify/components"
|
|
8
8
|
import * as directives from "vuetify/directives"
|
|
9
9
|
|
|
10
|
-
import CrsSelector from "@
|
|
10
|
+
import CrsSelector from "@ogw_front/components/CrsSelector.vue"
|
|
11
11
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
12
12
|
|
|
13
13
|
const crs_selector_schema =
|
|
@@ -7,7 +7,7 @@ import * as directives from "vuetify/directives"
|
|
|
7
7
|
import { setActivePinia } from "pinia"
|
|
8
8
|
import { createTestingPinia } from "@pinia/testing"
|
|
9
9
|
|
|
10
|
-
import ExtensionSelector from "@
|
|
10
|
+
import ExtensionSelector from "@ogw_front/components/ExtensionSelector.vue"
|
|
11
11
|
|
|
12
12
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
13
13
|
|
|
@@ -5,7 +5,7 @@ import * as components from "vuetify/components"
|
|
|
5
5
|
import * as directives from "vuetify/directives"
|
|
6
6
|
import { createTestingPinia } from "@pinia/testing"
|
|
7
7
|
|
|
8
|
-
import FeedBackErrorBanner from "@
|
|
8
|
+
import FeedBackErrorBanner from "@ogw_front/components/FeedBack/ErrorBanner.vue"
|
|
9
9
|
import { setActivePinia } from "pinia"
|
|
10
10
|
|
|
11
11
|
const vuetify = createVuetify({
|
|
@@ -9,7 +9,7 @@ import * as directives from "vuetify/directives"
|
|
|
9
9
|
import { setActivePinia } from "pinia"
|
|
10
10
|
import { createTestingPinia } from "@pinia/testing"
|
|
11
11
|
|
|
12
|
-
import FeedBackSnackers from "@
|
|
12
|
+
import FeedBackSnackers from "@ogw_front/components/FeedBack/Snackers.vue"
|
|
13
13
|
|
|
14
14
|
const vuetify = createVuetify({
|
|
15
15
|
components,
|
|
@@ -9,8 +9,8 @@ import * as directives from "vuetify/directives"
|
|
|
9
9
|
import { setActivePinia } from "pinia"
|
|
10
10
|
import { createTestingPinia } from "@pinia/testing"
|
|
11
11
|
|
|
12
|
-
import FileSelector from "@
|
|
13
|
-
import FileUploader from "@
|
|
12
|
+
import FileSelector from "@ogw_front/components/FileSelector.vue"
|
|
13
|
+
import FileUploader from "@ogw_front/components/FileUploader.vue"
|
|
14
14
|
|
|
15
15
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
16
16
|
|
|
@@ -8,7 +8,7 @@ import * as directives from "vuetify/directives"
|
|
|
8
8
|
import { setActivePinia } from "pinia"
|
|
9
9
|
import { createTestingPinia } from "@pinia/testing"
|
|
10
10
|
|
|
11
|
-
import FileUploader from "@
|
|
11
|
+
import FileUploader from "@ogw_front/components/FileUploader.vue"
|
|
12
12
|
|
|
13
13
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ import * as directives from "vuetify/directives"
|
|
|
8
8
|
import { setActivePinia } from "pinia"
|
|
9
9
|
import { createTestingPinia } from "@pinia/testing"
|
|
10
10
|
|
|
11
|
-
import InspectorInspectionButton from "@
|
|
11
|
+
import InspectorInspectionButton from "@ogw_front/components/Inspector/InspectionButton.vue"
|
|
12
12
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
13
13
|
const schema = schemas.opengeodeweb_back.inspect_file
|
|
14
14
|
|
|
@@ -5,7 +5,7 @@ import { createVuetify } from "vuetify"
|
|
|
5
5
|
import * as components from "vuetify/components"
|
|
6
6
|
import * as directives from "vuetify/directives"
|
|
7
7
|
|
|
8
|
-
import InspectorResultPanel from "@
|
|
8
|
+
import InspectorResultPanel from "@ogw_front/components/Inspector/ResultPanel.vue"
|
|
9
9
|
|
|
10
10
|
const vuetify = createVuetify({
|
|
11
11
|
components,
|
|
@@ -9,7 +9,7 @@ import * as directives from "vuetify/directives"
|
|
|
9
9
|
import { setActivePinia } from "pinia"
|
|
10
10
|
import { createTestingPinia } from "@pinia/testing"
|
|
11
11
|
|
|
12
|
-
import Launcher from "
|
|
12
|
+
import Launcher from "@ogw_front/components/Launcher.vue"
|
|
13
13
|
|
|
14
14
|
const vuetify = createVuetify({
|
|
15
15
|
components,
|
|
@@ -8,8 +8,8 @@ import * as directives from "vuetify/directives"
|
|
|
8
8
|
import { setActivePinia } from "pinia"
|
|
9
9
|
import { createTestingPinia } from "@pinia/testing"
|
|
10
10
|
|
|
11
|
-
import MissingFilesSelector from "@
|
|
12
|
-
import FileUploader from "@
|
|
11
|
+
import MissingFilesSelector from "@ogw_front/components/MissingFilesSelector.vue"
|
|
12
|
+
import FileUploader from "@ogw_front/components/FileUploader.vue"
|
|
13
13
|
|
|
14
14
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
15
15
|
|
|
@@ -8,7 +8,7 @@ import * as directives from "vuetify/directives"
|
|
|
8
8
|
import { setActivePinia } from "pinia"
|
|
9
9
|
import { createTestingPinia } from "@pinia/testing"
|
|
10
10
|
|
|
11
|
-
import ObjectSelector from "@
|
|
11
|
+
import ObjectSelector from "@ogw_front/components/ObjectSelector.vue"
|
|
12
12
|
|
|
13
13
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ import * as directives from "vuetify/directives"
|
|
|
8
8
|
import { setActivePinia } from "pinia"
|
|
9
9
|
import { createTestingPinia } from "@pinia/testing"
|
|
10
10
|
|
|
11
|
-
import PackagesVersions from "@
|
|
11
|
+
import PackagesVersions from "@ogw_front/components/PackagesVersions.vue"
|
|
12
12
|
|
|
13
13
|
const vuetify = createVuetify({
|
|
14
14
|
components,
|
|
@@ -5,8 +5,8 @@ import { createVuetify } from "vuetify"
|
|
|
5
5
|
import * as components from "vuetify/components"
|
|
6
6
|
import * as directives from "vuetify/directives"
|
|
7
7
|
|
|
8
|
-
import Step from "@
|
|
9
|
-
import ObjectSelector from "@
|
|
8
|
+
import Step from "@ogw_front/components/Step.vue"
|
|
9
|
+
import ObjectSelector from "@ogw_front/components/ObjectSelector.vue"
|
|
10
10
|
|
|
11
11
|
const vuetify = createVuetify({
|
|
12
12
|
components,
|
|
@@ -5,8 +5,8 @@ import { createVuetify } from "vuetify"
|
|
|
5
5
|
import * as components from "vuetify/components"
|
|
6
6
|
import * as directives from "vuetify/directives"
|
|
7
7
|
|
|
8
|
-
import Stepper from "@
|
|
9
|
-
import ObjectSelector from "@
|
|
8
|
+
import Stepper from "@ogw_front/components/Stepper.vue"
|
|
9
|
+
import ObjectSelector from "@ogw_front/components/ObjectSelector.vue"
|
|
10
10
|
import { mountSuspended } from "@nuxt/test-utils/runtime"
|
|
11
11
|
|
|
12
12
|
const vuetify = createVuetify({
|
|
@@ -5,8 +5,8 @@ import { describe, expect, test } from "vitest"
|
|
|
5
5
|
// import * as components from "vuetify/components"
|
|
6
6
|
// import * as directives from "vuetify/directives"
|
|
7
7
|
|
|
8
|
-
// // import Wrapper from "@
|
|
9
|
-
// import ObjectSelector from "@
|
|
8
|
+
// // import Wrapper from "@ogw_front/components/Wrapper.vue"
|
|
9
|
+
// import ObjectSelector from "@ogw_front/components/ObjectSelector.vue"
|
|
10
10
|
|
|
11
11
|
// const vuetify = createVuetify({
|
|
12
12
|
// components,
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { beforeEach, describe, expect, test, vi } from "vitest"
|
|
2
2
|
import { setActivePinia } from "pinia"
|
|
3
3
|
import { createTestingPinia } from "@pinia/testing"
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
// Local imports
|
|
6
|
+
import { useProjectManager } from "@ogw_front/composables/project_manager.js"
|
|
7
|
+
import { appMode } from "@ogw_front/utils/app_mode.js"
|
|
5
8
|
|
|
6
9
|
// Snapshot
|
|
7
10
|
const snapshotMock = {
|
|
@@ -55,11 +58,18 @@ const snapshotMock = {
|
|
|
55
58
|
const geodeStoreMock = {
|
|
56
59
|
start_request: vi.fn(),
|
|
57
60
|
stop_request: vi.fn(),
|
|
58
|
-
base_url: "",
|
|
61
|
+
base_url: vi.fn(() => ""),
|
|
59
62
|
$reset: vi.fn(),
|
|
60
63
|
}
|
|
61
|
-
const infraStoreMock = {
|
|
62
|
-
|
|
64
|
+
const infraStoreMock = {
|
|
65
|
+
app_mode: appMode.BROWSER,
|
|
66
|
+
ID: "1234",
|
|
67
|
+
create_connection: vi.fn(() => Promise.resolve()),
|
|
68
|
+
}
|
|
69
|
+
const viewerStoreMock = {
|
|
70
|
+
ws_connect: vi.fn(() => Promise.resolve()),
|
|
71
|
+
base_url: vi.fn(() => ""),
|
|
72
|
+
}
|
|
63
73
|
const treeviewStoreMock = {
|
|
64
74
|
clear: vi.fn(),
|
|
65
75
|
importStores: vi.fn(() => Promise.resolve()),
|
|
@@ -84,7 +94,9 @@ const hybridViewerStoreMock = {
|
|
|
84
94
|
if (snapshot?.zScale != null)
|
|
85
95
|
hybridViewerStoreMock.setZScaling(snapshot.zScale)
|
|
86
96
|
if (snapshot?.camera_options) {
|
|
87
|
-
const { viewer_call } = await import(
|
|
97
|
+
const { viewer_call } = await import(
|
|
98
|
+
"@ogw_front/composables/viewer_call.js"
|
|
99
|
+
)
|
|
88
100
|
viewer_call({
|
|
89
101
|
schema: { $id: "opengeodeweb_viewer/viewer.update_camera" },
|
|
90
102
|
params: { camera_options: snapshot.camera_options },
|
|
@@ -102,10 +114,11 @@ vi.stubGlobal(
|
|
|
102
114
|
"$fetch",
|
|
103
115
|
vi.fn(async () => ({ snapshot: snapshotMock })),
|
|
104
116
|
)
|
|
105
|
-
vi.mock("
|
|
117
|
+
vi.mock("@ogw_front/composables/viewer_call.js", () => ({
|
|
106
118
|
viewer_call: vi.fn(() => Promise.resolve()),
|
|
107
119
|
}))
|
|
108
|
-
|
|
120
|
+
|
|
121
|
+
vi.mock("@ogw_front/composables/api_fetch.js", () => ({
|
|
109
122
|
api_fetch: vi.fn(async (_req, options = {}) => {
|
|
110
123
|
const response = {
|
|
111
124
|
_data: new Blob(["zipcontent"], { type: "application/zip" }),
|
|
@@ -118,22 +131,28 @@ vi.mock("@/composables/api_fetch.js", () => ({
|
|
|
118
131
|
}),
|
|
119
132
|
}))
|
|
120
133
|
vi.mock("js-file-download", () => ({ default: vi.fn() }))
|
|
121
|
-
vi.mock("
|
|
122
|
-
|
|
123
|
-
|
|
134
|
+
vi.mock("@ogw_front/stores/infra.js", () => ({
|
|
135
|
+
useInfraStore: () => infraStoreMock,
|
|
136
|
+
}))
|
|
137
|
+
vi.mock("@ogw_front/stores/viewer.js", () => ({
|
|
138
|
+
useViewerStore: () => viewerStoreMock,
|
|
139
|
+
}))
|
|
140
|
+
vi.mock("@ogw_front/stores/treeview.js", () => ({
|
|
124
141
|
useTreeviewStore: () => treeviewStoreMock,
|
|
125
142
|
}))
|
|
126
|
-
vi.mock("
|
|
143
|
+
vi.mock("@ogw_front/stores/data_base.js", () => ({
|
|
127
144
|
useDataBaseStore: () => dataBaseStoreMock,
|
|
128
145
|
}))
|
|
129
|
-
vi.mock("
|
|
146
|
+
vi.mock("@ogw_front/stores/data_style.js", () => ({
|
|
130
147
|
useDataStyleStore: () => dataStyleStoreMock,
|
|
131
148
|
}))
|
|
132
|
-
vi.mock("
|
|
149
|
+
vi.mock("@ogw_front/stores/hybrid_viewer.js", () => ({
|
|
133
150
|
useHybridViewerStore: () => hybridViewerStoreMock,
|
|
134
151
|
}))
|
|
135
|
-
vi.mock("
|
|
136
|
-
|
|
152
|
+
vi.mock("@ogw_front/stores/geode.js", () => ({
|
|
153
|
+
useGeodeStore: () => geodeStoreMock,
|
|
154
|
+
}))
|
|
155
|
+
vi.mock("@ogw_front/stores/app.js", () => ({
|
|
137
156
|
useAppStore: () => ({
|
|
138
157
|
exportStores: vi.fn(() => ({ projectName: "mockedProject" })),
|
|
139
158
|
}),
|
|
@@ -143,6 +162,17 @@ vi.stubGlobal("useAppStore", () => ({
|
|
|
143
162
|
exportStores: vi.fn(() => ({ projectName: "mockedProject" })),
|
|
144
163
|
}))
|
|
145
164
|
|
|
165
|
+
const mockLockRequest = vi.fn().mockImplementation(async (name, callback) => {
|
|
166
|
+
return callback({ name })
|
|
167
|
+
})
|
|
168
|
+
|
|
169
|
+
vi.stubGlobal("navigator", {
|
|
170
|
+
...navigator,
|
|
171
|
+
locks: {
|
|
172
|
+
request: mockLockRequest,
|
|
173
|
+
},
|
|
174
|
+
})
|
|
175
|
+
|
|
146
176
|
describe("ProjectManager composable (compact)", () => {
|
|
147
177
|
beforeEach(async () => {
|
|
148
178
|
const pinia = createTestingPinia({ stubActions: false, createSpy: vi.fn })
|
|
@@ -161,7 +191,9 @@ describe("ProjectManager composable (compact)", () => {
|
|
|
161
191
|
(v) => typeof v === "function" && v.mockClear && v.mockClear(),
|
|
162
192
|
)
|
|
163
193
|
}
|
|
164
|
-
const { viewer_call } = await import(
|
|
194
|
+
const { viewer_call } = await import(
|
|
195
|
+
"@ogw_front/composables/viewer_call.js"
|
|
196
|
+
)
|
|
165
197
|
viewer_call.mockClear()
|
|
166
198
|
})
|
|
167
199
|
|
|
@@ -183,7 +215,9 @@ describe("ProjectManager composable (compact)", () => {
|
|
|
183
215
|
|
|
184
216
|
await importProjectFile(file)
|
|
185
217
|
|
|
186
|
-
const { viewer_call } = await import(
|
|
218
|
+
const { viewer_call } = await import(
|
|
219
|
+
"@ogw_front/composables/viewer_call.js"
|
|
220
|
+
)
|
|
187
221
|
|
|
188
222
|
expect(infraStoreMock.create_connection).toHaveBeenCalled()
|
|
189
223
|
expect(viewerStoreMock.ws_connect).toHaveBeenCalled()
|
|
@@ -2,7 +2,7 @@ import { describe, expect, test, beforeEach, vi } from "vitest"
|
|
|
2
2
|
import { setActivePinia } from "pinia"
|
|
3
3
|
import { createTestingPinia } from "@pinia/testing"
|
|
4
4
|
import { registerEndpoint } from "@nuxt/test-utils/runtime"
|
|
5
|
-
import { upload_file } from "@
|
|
5
|
+
import { upload_file } from "@ogw_front/composables/upload_file"
|
|
6
6
|
import schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
7
7
|
const schema = schemas.opengeodeweb_back.upload_file
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { beforeEach, describe, expect, test, vi } from "vitest"
|
|
|
2
2
|
import { createTestingPinia } from "@pinia/testing"
|
|
3
3
|
import { setActivePinia } from "pinia"
|
|
4
4
|
|
|
5
|
-
vi.mock("
|
|
5
|
+
vi.mock("@ogw_front/composables/viewer_call.js", () => ({
|
|
6
6
|
default: vi.fn(() => Promise.resolve({})),
|
|
7
7
|
viewer_call: vi.fn(() => Promise.resolve({})),
|
|
8
8
|
}))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { setActivePinia } from "pinia"
|
|
2
2
|
import { createTestingPinia } from "@pinia/testing"
|
|
3
|
-
import { useFeedbackStore } from "@
|
|
3
|
+
import { useFeedbackStore } from "@ogw_front/stores/feedback"
|
|
4
4
|
import { beforeEach, describe, expect, expectTypeOf, test, vi } from "vitest"
|
|
5
5
|
|
|
6
6
|
beforeEach(async () => {
|
|
@@ -3,7 +3,8 @@ import { createTestingPinia } from "@pinia/testing"
|
|
|
3
3
|
import { describe, test, expect, expectTypeOf, beforeEach, vi } from "vitest"
|
|
4
4
|
import { registerEndpoint } from "@nuxt/test-utils/runtime"
|
|
5
5
|
import back_schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
|
|
6
|
-
import Status from "@
|
|
6
|
+
import Status from "@ogw_front/utils/status"
|
|
7
|
+
import { appMode } from "@ogw_front/utils/app_mode"
|
|
7
8
|
|
|
8
9
|
beforeEach(async () => {
|
|
9
10
|
const pinia = createTestingPinia({
|
|
@@ -28,19 +29,19 @@ describe("Geode store", () => {
|
|
|
28
29
|
test("test app_mode CLOUD", () => {
|
|
29
30
|
const infra_store = useInfraStore()
|
|
30
31
|
const geode_store = useGeodeStore()
|
|
31
|
-
infra_store.app_mode = appMode.
|
|
32
|
+
infra_store.app_mode = appMode.CLOUD
|
|
32
33
|
expect(geode_store.protocol).toBe("https")
|
|
33
34
|
})
|
|
34
35
|
test("test app_mode BROWSER", () => {
|
|
35
36
|
const infra_store = useInfraStore()
|
|
36
37
|
const geode_store = useGeodeStore()
|
|
37
|
-
infra_store.app_mode = appMode.
|
|
38
|
+
infra_store.app_mode = appMode.BROWSER
|
|
38
39
|
expect(geode_store.protocol).toBe("http")
|
|
39
40
|
})
|
|
40
41
|
test("test app_mode DESKTOP", () => {
|
|
41
42
|
const infra_store = useInfraStore()
|
|
42
43
|
const geode_store = useGeodeStore()
|
|
43
|
-
infra_store.app_mode = appMode.
|
|
44
|
+
infra_store.app_mode = appMode.DESKTOP
|
|
44
45
|
expect(geode_store.protocol).toBe("http")
|
|
45
46
|
})
|
|
46
47
|
})
|
|
@@ -49,26 +50,26 @@ describe("Geode store", () => {
|
|
|
49
50
|
test("test app_mode CLOUD", () => {
|
|
50
51
|
const infra_store = useInfraStore()
|
|
51
52
|
const geode_store = useGeodeStore()
|
|
52
|
-
infra_store.app_mode = appMode.
|
|
53
|
+
infra_store.app_mode = appMode.CLOUD
|
|
53
54
|
expect(geode_store.port).toBe("443")
|
|
54
55
|
})
|
|
55
56
|
test("test app_mode BROWSER", () => {
|
|
56
57
|
const infra_store = useInfraStore()
|
|
57
58
|
const geode_store = useGeodeStore()
|
|
58
|
-
infra_store.app_mode = appMode.
|
|
59
|
+
infra_store.app_mode = appMode.BROWSER
|
|
59
60
|
expect(geode_store.port).toBe(geode_store.default_local_port)
|
|
60
61
|
})
|
|
61
62
|
test("test app_mode DESKTOP", () => {
|
|
62
63
|
const infra_store = useInfraStore()
|
|
63
64
|
const geode_store = useGeodeStore()
|
|
64
|
-
infra_store.app_mode = appMode.
|
|
65
|
+
infra_store.app_mode = appMode.DESKTOP
|
|
65
66
|
expect(geode_store.port).toBe(geode_store.default_local_port)
|
|
66
67
|
})
|
|
67
68
|
|
|
68
69
|
test("test override default_local_port", () => {
|
|
69
70
|
const infra_store = useInfraStore()
|
|
70
71
|
const geode_store = useGeodeStore()
|
|
71
|
-
infra_store.app_mode = appMode.
|
|
72
|
+
infra_store.app_mode = appMode.DESKTOP
|
|
72
73
|
geode_store.default_local_port = "12"
|
|
73
74
|
expect(geode_store.port).toBe("12")
|
|
74
75
|
})
|
|
@@ -78,14 +79,14 @@ describe("Geode store", () => {
|
|
|
78
79
|
test("test app_mode BROWSER", () => {
|
|
79
80
|
const infra_store = useInfraStore()
|
|
80
81
|
const geode_store = useGeodeStore()
|
|
81
|
-
infra_store.app_mode = appMode.
|
|
82
|
+
infra_store.app_mode = appMode.BROWSER
|
|
82
83
|
infra_store.domain_name = "localhost"
|
|
83
84
|
expect(geode_store.base_url).toBe("http://localhost:5000")
|
|
84
85
|
})
|
|
85
86
|
test("test app_mode CLOUD", () => {
|
|
86
87
|
const infra_store = useInfraStore()
|
|
87
88
|
const geode_store = useGeodeStore()
|
|
88
|
-
infra_store.app_mode = appMode.
|
|
89
|
+
infra_store.app_mode = appMode.CLOUD
|
|
89
90
|
infra_store.ID = "123456"
|
|
90
91
|
infra_store.domain_name = "example.com"
|
|
91
92
|
expect(geode_store.base_url).toBe(
|
|
@@ -95,7 +96,7 @@ describe("Geode store", () => {
|
|
|
95
96
|
test("test app_mode CLOUD, ID empty", () => {
|
|
96
97
|
const infra_store = useInfraStore()
|
|
97
98
|
const geode_store = useGeodeStore()
|
|
98
|
-
infra_store.app_mode = appMode.
|
|
99
|
+
infra_store.app_mode = appMode.CLOUD
|
|
99
100
|
infra_store.ID = ""
|
|
100
101
|
infra_store.domain_name = "example.com"
|
|
101
102
|
expect(() => geode_store.base_url).toThrowError(
|