Always call done callback in before block

This commit is contained in:
Kevin Sawicki 2016-11-15 17:35:57 -08:00
parent 81f2e76e36
commit 04c68745db

View file

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