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:
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…
Reference in New Issue
Block a user