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

pull/211/head
Szymon Lesisz 6 years ago
parent a40429f345
commit 95623474aa

@ -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`] = `""`;

@ -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) => {

Loading…
Cancel
Save