From 1e98fc508978145a0e3895e91459f8c5ea02c927 Mon Sep 17 00:00:00 2001 From: Jason Syrotuck Date: Wed, 8 Nov 2023 15:53:48 -0800 Subject: [PATCH] mock for test --- .../tests/components/mine/Permit/MinePermitTable.spec.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/services/core-web/src/tests/components/mine/Permit/MinePermitTable.spec.tsx b/services/core-web/src/tests/components/mine/Permit/MinePermitTable.spec.tsx index fd960a9540..b50fa7ba9e 100644 --- a/services/core-web/src/tests/components/mine/Permit/MinePermitTable.spec.tsx +++ b/services/core-web/src/tests/components/mine/Permit/MinePermitTable.spec.tsx @@ -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();