Skip to content

Commit

Permalink
refine mock file naming
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Dec 3, 2024
1 parent b12147b commit baaf27d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
6 changes: 4 additions & 2 deletions e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ import {
} from "./helpers/navigateAndPublish";
import { TestContext } from "./helpers/types";
import { serviceProps } from "./helpers/serviceData";
import { mockMapGeoJson } from "./mocks/geoJsonMock";
import { checkGeoJsonContent } from "./helpers/geospatialChecks";
import { mockPropertyTypeOptions } from "./mocks/serviceComponentMocks";
import {
mockMapGeoJson,
mockPropertyTypeOptions,
} from "./mocks/geospatialMocks";

test.describe("Flow creation, publish and preview", () => {
let context: TestContext = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import { OptionWithDataValues } from "../helpers/types";

export const mockPropertyTypeOptions: OptionWithDataValues[] = [
{ optionText: "Residential", dataValue: "residential" },
{ optionText: "Commercial", dataValue: "commercial" },
];

import { Feature } from "geojson";

export const mockMapGeoJson: Feature = {
Expand Down
6 changes: 0 additions & 6 deletions e2e/tests/ui-driven/src/mocks/serviceComponentMocks.ts

This file was deleted.

0 comments on commit baaf27d

Please sign in to comment.