Call done callback with Error
This commit is contained in:
parent
4af44b1be6
commit
f891df55d4
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ describe('chromium feature', function () {
|
||||||
if (labelFound) {
|
if (labelFound) {
|
||||||
done()
|
done()
|
||||||
} else {
|
} else {
|
||||||
done('No device labels found: ' + JSON.stringify(labels))
|
done(new Error(`No device labels found: ${JSON.stringify(labels)}`))
|
||||||
}
|
}
|
||||||
}).catch(done)
|
}).catch(done)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue