From 24de5c5e7d021bc90f37ee0ef6980f9d4edf9564 Mon Sep 17 00:00:00 2001 From: jpuri Date: Thu, 16 Jan 2025 01:25:24 +0530 Subject: [PATCH] update --- e2e/api-specs/json-rpc-coverage.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e2e/api-specs/json-rpc-coverage.js b/e2e/api-specs/json-rpc-coverage.js index ca5b30f828a..bcc75bc049c 100644 --- a/e2e/api-specs/json-rpc-coverage.js +++ b/e2e/api-specs/json-rpc-coverage.js @@ -22,6 +22,7 @@ import ConfirmationsRejectRule from './ConfirmationsRejectionRule'; import { createDriverTransport } from './helpers'; import { BrowserViewSelectorsIDs } from '../selectors/Browser/BrowserView.selectors'; import { getGanachePort } from '../fixtures/utils'; +import { mockEvents } from '../api-mocking/mock-config/mock-events'; const port = getGanachePort(8545, process.pid); const chainId = 1337; @@ -156,6 +157,10 @@ const main = async () => { const server = mockServer(port, openrpcDocument); server.start(); + const testSpecificMock = { + GET: [mockEvents.GET.remoteFeatureFlags], + }; + await withFixtures( { dapp: true, @@ -163,6 +168,7 @@ const main = async () => { ganacheOptions: defaultGanacheOptions, disableGanache: true, restartDevice: true, + testSpecificMock, }, async () => { await loginToApp();