1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-05 22:32:33 +00:00
trezor-wallet/src/js/utils/__tests__/ethUtils.test.js
2018-07-30 14:17:49 +02:00

12 lines
274 B
JavaScript

import * as ethUtils from '../ethUtils';
describe('eth utils', () => {
it('decimalToHex', () => {
const input = [0, 1, 2, 100, 999];
input.forEach((entry) => {
expect(ethUtils.decimalToHex(entry)).toMatchSnapshot();
});
});
});