Take out checkConsoleErrors from inside title check
`it` inside another `it` will not get executed.
This commit is contained in:
@@ -61,13 +61,14 @@ describe('basics', function (done) {
|
|||||||
|
|
||||||
if (hasTitle) {
|
if (hasTitle) {
|
||||||
expect(title).to.contain('Swagger UI');
|
expect(title).to.contain('Swagger UI');
|
||||||
checkConsoleErrors();
|
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
return hasTitle;
|
return hasTitle;
|
||||||
});
|
});
|
||||||
}, 1000);
|
}, 1000);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
checkConsoleErrors();
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('cleanup', function () {
|
describe('cleanup', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user