Skip to content

Commit 0e91b0a

Browse files
authored
remove commented code (#218)
1 parent 51ff0c1 commit 0e91b0a

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/SmartTransactionsController.test.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import * as utils from './utils';
1616
function flushPromises(): Promise<unknown> {
1717
return new Promise(jest.requireActual('timers').setImmediate);
1818
}
19-
// const confirmExternalMock = jest.fn();
2019

2120
jest.mock('@ethersproject/bytes', () => ({
2221
...jest.requireActual('@ethersproject/bytes'),
@@ -529,25 +528,6 @@ describe('SmartTransactionsController', () => {
529528
});
530529

531530
it('should add fee data to feesByChainId state using the networkClientId passed in to identify the appropriate chain', async () => {
532-
// getNetworkClientByIdSpy.mockImplementation((networkClientId) => {
533-
// switch (networkClientId) {
534-
// case 'mainnet':
535-
// return {
536-
// configuration: {
537-
// chainId: CHAIN_IDS.ETHEREUM,
538-
// },
539-
// };
540-
// case 'goerli':
541-
// return {
542-
// configuration: {
543-
// chainId: CHAIN_IDS.GOERLI,
544-
// },
545-
// };
546-
// default:
547-
// throw new Error('Invalid network client id');
548-
// }
549-
// });
550-
551531
const tradeTx = createUnsignedTransaction(goerliChainIdDec);
552532
const approvalTx = createUnsignedTransaction(goerliChainIdDec);
553533
const getFeesApiResponse = createGetFeesApiResponse();

0 commit comments

Comments
 (0)