mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-14 04:19:09 +00:00
fix unit tests
This commit is contained in:
parent
a7939601e5
commit
94ea4d663b
@ -42,9 +42,9 @@ describe('device utils', () => {
|
||||
});
|
||||
|
||||
it('isWebUSB', () => {
|
||||
expect(utils.isWebUSB({ type: 'webusb', version: '1.6.0' })).toBe(true);
|
||||
expect(utils.isWebUSB({ type: 'WebUsbPlugin', version: '1.6.0' })).toBe(true);
|
||||
expect(utils.isWebUSB({ type: 'aaaa', version: 'aaaaaa' })).toBe(false);
|
||||
expect(utils.isWebUSB({ type: 'webusb' })).toBe(true);
|
||||
expect(utils.isWebUSB({ type: 'WebUsbPlugin' })).toBe(true);
|
||||
});
|
||||
|
||||
it('isDisabled', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user