1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-16 02:51:03 +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', () => { it('sanitizeHex', () => {
const input = ['0x2540be3ff', '1', '2', '100', 999, '']; const input = ['0x2540be3ff', '1', '2', '100', '999', ''];
input.forEach((entry) => { input.forEach((entry) => {
expect(ethUtils.sanitizeHex(entry)).toMatchSnapshot(); expect(ethUtils.sanitizeHex(entry)).toMatchSnapshot();