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

quickfix: deviceUtils test add missing "type" field + update ethUtils snapshot

This commit is contained in:
Szymon Lesisz 2018-10-22 17:22:04 +02:00
parent a40429f345
commit 95623474aa
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ exports[`eth utils sanitizeHex 3`] = `"0x02"`;
exports[`eth utils sanitizeHex 4`] = `"0x0100"`;
exports[`eth utils sanitizeHex 5`] = `null`;
exports[`eth utils sanitizeHex 5`] = `"0x0999"`;
exports[`eth utils sanitizeHex 6`] = `""`;

View File

@ -40,9 +40,9 @@ describe('device utils', () => {
it('isWebUSB', () => {
const data = [
{ transport: { version: 'webusb' } },
{ transport: { version: 'aaaaaa' } },
{ transport: { version: 'webusb' } },
{ transport: { type: 'ParallelTransport', version: 'webusb' } },
{ transport: { type: null, version: 'aaaaaa' } },
{ transport: { type: 'ParallelTransport', version: 'webusb' } },
];
data.forEach((item) => {