Skip to content

Commit

Permalink
remove more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
asinn134 committed Nov 9, 2024
1 parent 4564243 commit c5e8bdd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -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 = {};
Expand All @@ -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(() => {
Expand All @@ -49,8 +36,6 @@ describe("MajorProjectHomePage", () => {
<MajorProjectHomePage {...dispatchProps} {...reducerProps} />
</ReduxWrapper>
)
//const component = shallow(<MajorProjectHomePage {...dispatchProps} {...reducerProps} />);
// expect(component).toMatchSnapshot();
expect(container.firstChild).toMatchSnapshot();
});
});
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -30,7 +29,5 @@ describe("Major Project Search Component", () => {
</ReduxWrapper>
);
expect(container).toMatchSnapshot();
// const component = shallow(<MajorProjectSearch {...props} />);
// expect(component).toMatchSnapshot();
});
});

0 comments on commit c5e8bdd

Please sign in to comment.