Skip to content

Commit

Permalink
mock for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jsyro committed Nov 8, 2023
1 parent b851e3e commit 1e98fc5
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ import * as MOCK from "@/tests/mocks/dataMocks";
const dispatchProps: any = {};
const props: any = {};

jest.mock("@mds/common/providers/featureFlags/useFeatureFlag", () => ({
useFeatureFlag: () => ({
isFeatureEnabled: {
verifiable_credentials: true,
},
}),
}));

const setupDispatchProps = () => {
dispatchProps.openEditPermitModal = jest.fn();
dispatchProps.openAddPermitAmendmentModal = jest.fn();
Expand Down

0 comments on commit 1e98fc5

Please sign in to comment.