Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri committed Jan 15, 2025
1 parent cf8d4da commit 24de5c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2e/api-specs/json-rpc-coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -156,13 +157,18 @@ const main = async () => {
const server = mockServer(port, openrpcDocument);
server.start();

const testSpecificMock = {
GET: [mockEvents.GET.remoteFeatureFlags],
};

await withFixtures(
{
dapp: true,
fixture: new FixtureBuilder().withGanacheNetwork().build(),
ganacheOptions: defaultGanacheOptions,
disableGanache: true,
restartDevice: true,
testSpecificMock,
},
async () => {
await loginToApp();
Expand Down

0 comments on commit 24de5c5

Please sign in to comment.