Still call done when stop server function is null
This commit is contained in:
parent
4d9cdad37a
commit
a7a92e1cd3
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ describe('crashReporter module', function () {
|
|||
afterEach(function (done) {
|
||||
if (stopServer != null) {
|
||||
stopServer(done)
|
||||
} else {
|
||||
done()
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue