Call done callback with Error

This commit is contained in:
Kevin Sawicki 2017-04-18 16:06:10 -07:00
parent 4af44b1be6
commit f891df55d4

View file

@ -107,7 +107,7 @@ describe('chromium feature', function () {
if (labelFound) {
done()
} else {
done('No device labels found: ' + JSON.stringify(labels))
done(new Error(`No device labels found: ${JSON.stringify(labels)}`))
}
}).catch(done)
})