We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1da832d + 5028289 commit e0990d8Copy full SHA for e0990d8
test/subSuites/httpTest.js
@@ -90,20 +90,19 @@ module.exports = () => {
90
describe("httpTest Server", () => {
91
92
before("CLEAR DB", (done) => {
93
- chai
94
- .request("http://localhost:3000")
+ chai.request("http://localhost:3000")
95
.get("/clear")
96
- .end((err, res) => {
97
- done();
+ .end(function(err, res) {
+ done(); // <= Call done to signal callback end
98
});
99
100
101
after("CLEAR DB", (done) => {
102
103
104
105
106
+ .send()
107
108
109
0 commit comments