mirror of
https://github.com/trezor/trezor-wallet
synced 2025-07-12 01:28:13 +00:00
9 lines
215 B
JavaScript
9 lines
215 B
JavaScript
import * as ethUtils from '../ethUtils';
|
|
|
|
it('decimalToHex', () => {
|
|
const input = [0, 1, 2, 100, 999];
|
|
|
|
input.forEach((entry) => {
|
|
expect(ethUtils.decimalToHex(entry)).toMatchSnapshot();
|
|
});
|
|
}); |