mirror of
https://github.com/trezor/trezor-wallet
synced 2025-07-05 22:32:33 +00:00
12 lines
274 B
JavaScript
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();
|
|
});
|
|
});
|
|
});
|