mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
Always call done callback in before block
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user