Include test case number in test output
This commit is contained in:
parent
1fc2e146ea
commit
c24a6e1ad3
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ const fixtures = require('./fixtures/psbt')
|
|||
|
||||
describe(`Psbt`, () => {
|
||||
describe('BIP174 Test Vectors', () => {
|
||||
fixtures.bip174.invalid.forEach(f => {
|
||||
it(`Invalid: "${f.errorMessage}"`, () => {
|
||||
fixtures.bip174.invalid.forEach((f, i) => {
|
||||
it(`Invalid #${i + 1}: "${f.errorMessage}"`, () => {
|
||||
assert.throws(() => {
|
||||
Psbt.fromBase64(f.psbt)
|
||||
}, {message: f.errorMessage})
|
||||
|
|
Loading…
Add table
Reference in a new issue