1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-28 01:48:10 +00:00

quickfix: ethUtils test "sanitizeHex" fix

sanitizeHex expects only strings
This commit is contained in:
Szymon Lesisz 2018-10-22 13:31:10 +02:00
parent 63bfe4c6b9
commit b48b197003

View File

@ -27,7 +27,7 @@ describe('eth utils', () => {
});
it('sanitizeHex', () => {
const input = ['0x2540be3ff', '1', '2', '100', 999, ''];
const input = ['0x2540be3ff', '1', '2', '100', '999', ''];
input.forEach((entry) => {
expect(ethUtils.sanitizeHex(entry)).toMatchSnapshot();