mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-21 06:40:33 +01:00
28 lines
733 B
TypeScript
28 lines
733 B
TypeScript
export default {
|
|
method: 'getFirmwareHash',
|
|
setup: {
|
|
mnemonic: 'mnemonic_all',
|
|
},
|
|
tests: [
|
|
{
|
|
description: 'With challenge',
|
|
skip: ['<1.11.1', '<2.5.1'],
|
|
params: {
|
|
challenge: 'aa',
|
|
},
|
|
result: {
|
|
// hash is not deterministic, it depends on actual FW version therefore value will be different for each FW
|
|
hash: expect.any(String),
|
|
},
|
|
},
|
|
{
|
|
description: 'Without challenge',
|
|
skip: ['<1.11.1', '<2.5.1'],
|
|
params: {},
|
|
result: {
|
|
hash: expect.any(String),
|
|
},
|
|
},
|
|
],
|
|
} satisfies TestCase;
|