Skip to content

Commit

Permalink
error log
Browse files Browse the repository at this point in the history
  • Loading branch information
zinen authored Oct 9, 2024
1 parent b15da78 commit 0241cbc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/nordpool-api_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ describe('nordpool-api-plus Node', function () {
}
if (!errorHappend) done()
})
n1.on('call:error', function (msg) {
console.log('error: should return data from yesterday also')
console.log(msg)
// msg.firstArg.should.startWith('204')
// done()
})
n1.receive({ payload: '' })
})
}).timeout(10000)
Expand Down

0 comments on commit 0241cbc

Please sign in to comment.