Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions src/SmartTransactionsController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import * as utils from './utils';
function flushPromises(): Promise<unknown> {
return new Promise(jest.requireActual('timers').setImmediate);
}
// const confirmExternalMock = jest.fn();

jest.mock('@ethersproject/bytes', () => ({
...jest.requireActual('@ethersproject/bytes'),
Expand Down Expand Up @@ -529,25 +528,6 @@ describe('SmartTransactionsController', () => {
});

it('should add fee data to feesByChainId state using the networkClientId passed in to identify the appropriate chain', async () => {
// getNetworkClientByIdSpy.mockImplementation((networkClientId) => {
// switch (networkClientId) {
// case 'mainnet':
// return {
// configuration: {
// chainId: CHAIN_IDS.ETHEREUM,
// },
// };
// case 'goerli':
// return {
// configuration: {
// chainId: CHAIN_IDS.GOERLI,
// },
// };
// default:
// throw new Error('Invalid network client id');
// }
// });

const tradeTx = createUnsignedTransaction(goerliChainIdDec);
const approvalTx = createUnsignedTransaction(goerliChainIdDec);
const getFeesApiResponse = createGetFeesApiResponse();
Expand Down