Skip to content

Commit 5a4a6b0

Browse files
committed
fix: use Json type in stableTokens test mock to satisfy FeatureFlags constraint
1 parent 0035397 commit 5a4a6b0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/selectors/featureFlagController/stableTokens/index.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { CHAIN_IDS } from '@metamask/transaction-controller';
2+
import type { Json } from '@metamask/utils';
23
import { Hex } from '@metamask/utils';
34
import { selectStablecoins, STABLE_TOKENS_FLAG } from '.';
45
import mockedEngine from '../../../core/__mocks__/MockedEngine';
@@ -8,7 +9,7 @@ jest.mock('../../../core/Engine', () => ({
89
init: () => mockedEngine.init(),
910
}));
1011

11-
const getMockedFeatureFlag = (value: unknown) => ({
12+
const getMockedFeatureFlag = (value: Json) => ({
1213
engine: {
1314
backgroundState: {
1415
RemoteFeatureFlagController: {

0 commit comments

Comments
 (0)