mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Call done callback with Error
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user