Skip to content

Commit 6624146

Browse files
committed
Fix linting
1 parent 6aa211d commit 6624146

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/transaction-pay-controller/src/utils/token.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import {
88
getTokenInfo,
99
getTokenFiatRate,
1010
getAllTokenBalances,
11+
getNativeToken,
1112
} from './token';
12-
import { getNativeTokenAddress } from '../../../assets-controllers/src';
1313
import { NATIVE_TOKEN_ADDRESS } from '../constants';
1414
import { getMessengerMock } from '../tests/messenger-mock';
1515

@@ -346,15 +346,15 @@ describe('Token Utils', () => {
346346
});
347347
});
348348

349-
describe('getNativeTokenAddress', () => {
349+
describe('getNativeToken', () => {
350350
it('returns alternate address for polygon', () => {
351-
expect(getNativeTokenAddress('0x89')).toBe(
351+
expect(getNativeToken('0x89')).toBe(
352352
'0x0000000000000000000000000000000000001010',
353353
);
354354
});
355355

356356
it('returns zero address for other chains', () => {
357-
expect(getNativeTokenAddress('0x1')).toBe(NATIVE_TOKEN_ADDRESS);
357+
expect(getNativeToken('0x1')).toBe(NATIVE_TOKEN_ADDRESS);
358358
});
359359
});
360360

0 commit comments

Comments
 (0)