Always call done callback in before block
This commit is contained in:
parent
81f2e76e36
commit
04c68745db
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ describe('chromium feature', function () {
|
|||
protocol.registerFileProtocol(scheme, function (request, callback) {
|
||||
callback(`${fixtures}/pages/window-opener-location.html`)
|
||||
}, function (error) {
|
||||
if (error) done(error)
|
||||
done(error)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue