Commit 561b0e1
committed
test(sdk-coin-polyx): cover missing wallet passphrase guard
Add a test asserting 'missing wallet passphrase' is thrown when
userKey and backupKey are present but walletPassphrase is not.
The automated review dispatched after the previous test-coverage
commit flagged that isMpcv2SigningMaterial()'s walletPassphrase
short-circuit and recover()'s outer 'missing wallet passphrase'
check were still only exercised indirectly, never via a real
(non-stubbed) call with that exact param combination.
Ticket: WCI-1228
Session-Id: 3a00bebe-fe12-4aea-9f1a-5a2d0dd8e94b
Task-Id: dfadd58f-a04c-4dd9-819b-506439735cec1 parent 5a8c95a commit 561b0e1
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
296 | 301 | | |
297 | 302 | | |
298 | 303 | | |
| |||
0 commit comments