print out warning messages in tests

This commit is contained in:
Feross Aboukhadijeh 2014-05-23 18:03:50 -07:00
parent f6d020128c
commit eddef2f197
2 changed files with 8 additions and 0 deletions

View File

@ -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 () {})

View File

@ -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 () {})