mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-13 10:56:25 +00:00
print out warning messages in tests
This commit is contained in:
parent
f6d020128c
commit
eddef2f197
@ -17,6 +17,10 @@ test('server', function (t) {
|
||||
t.fail(err.message)
|
||||
})
|
||||
|
||||
server.on('warning', function (err) {
|
||||
t.fail(err.message)
|
||||
})
|
||||
|
||||
server.on('complete', function () {})
|
||||
server.on('update', function () {})
|
||||
server.on('stop', function () {})
|
||||
|
@ -17,6 +17,10 @@ test('server', function (t) {
|
||||
t.fail(err.message)
|
||||
})
|
||||
|
||||
server.on('warning', function (err) {
|
||||
t.fail(err.message)
|
||||
})
|
||||
|
||||
server.on('complete', function () {})
|
||||
server.on('update', function () {})
|
||||
server.on('stop', function () {})
|
||||
|
Loading…
Reference in New Issue
Block a user