diff --git a/services/core-web/src/tests/components/dashboard/majorProjectHomePage/MajorProjectHomePage.spec.js b/services/core-web/src/tests/components/dashboard/majorProjectHomePage/MajorProjectHomePage.spec.js
index 4ee3d03f66..459331caee 100644
--- a/services/core-web/src/tests/components/dashboard/majorProjectHomePage/MajorProjectHomePage.spec.js
+++ b/services/core-web/src/tests/components/dashboard/majorProjectHomePage/MajorProjectHomePage.spec.js
@@ -1,11 +1,8 @@
import React from "react";
import { render } from "@testing-library/react";
-import { shallow } from "enzyme";
import { MajorProjectHomePage } from "@/components/dashboard/majorProjectHomePage/MajorProjectHomePage";
import * as MOCK from "@/tests/mocks/dataMocks";
import { ReduxWrapper } from "@/tests/utils/ReduxWrapper";
-// import { Provider } from "react-redux";
-// import { store } from "@/App";
const dispatchProps = {};
const reducerProps = {};
@@ -25,16 +22,6 @@ const setupReducerProps = () => {
};
reducerProps.projects = MOCK.MAJOR_PROJECTS_DASHBOARD;
reducerProps.projectPageData = MOCK.MAJOR_PROJECTS_PAGE_DATA;
- // reducerProps.projectSummaryStatusCodesHash = MOCK.PROJECT_SUMMARY_STATUS_CODES_HASH;
- // reducerProps.informationRequirementsTableStatusCodesHash =
- // MOCK.INFORMATION_REQUIREMENTS_TABLE_STATUS_CODES_HASH;
- // reducerProps.majorMinesApplicationStatusCodesHash =
- // MOCK.MAJOR_MINES_APPLICATION_STATUS_CODES_HASH;
- // reducerProps.projectSummaryStatusCodes = MOCK.PROJECT_SUMMARY_STATUS_CODES_DROPDOWN;
- // reducerProps.informationRequirementsTableStatusCode =
- // MOCK.INFORMATION_REQUIREMENTS_TABLE_STATUS_CODES_DROPDOWN;
- // reducerProps.majorMinesApplicationStatusCodes =
- // MOCK.MAJOR_MINES_APPLICATION_STATUS_CODES_DROPDOWN;
};
beforeEach(() => {
@@ -49,8 +36,6 @@ describe("MajorProjectHomePage", () => {
)
- //const component = shallow();
- // expect(component).toMatchSnapshot();
expect(container.firstChild).toMatchSnapshot();
});
});
diff --git a/services/core-web/src/tests/components/dashboard/majorProjectHomePage/MajorProjectSearch.spec.js b/services/core-web/src/tests/components/dashboard/majorProjectHomePage/MajorProjectSearch.spec.js
index 9d872fc989..d71c6dc7ba 100644
--- a/services/core-web/src/tests/components/dashboard/majorProjectHomePage/MajorProjectSearch.spec.js
+++ b/services/core-web/src/tests/components/dashboard/majorProjectHomePage/MajorProjectSearch.spec.js
@@ -1,5 +1,4 @@
import React from "react";
-import { shallow } from "enzyme";
import MajorProjectSearch from "@/components/dashboard/majorProjectHomePage/MajorProjectSearch";
import * as MOCK from "@/tests/mocks/dataMocks";
import { render } from "@testing-library/react";
@@ -30,7 +29,5 @@ describe("Major Project Search Component", () => {
);
expect(container).toMatchSnapshot();
- // const component = shallow();
- // expect(component).toMatchSnapshot();
});
});