fix tests and jshint happy

This commit is contained in:
Simon Martín
2018-05-10 18:35:52 +02:00
parent 37a2e89c81
commit 99516f5a75
+9 -9
View File
@@ -5,15 +5,16 @@ var TestClient = require('../../support/test-client');
describe('dataview error cases', function() {
afterEach(function(done) {
if (this.testClient) {
this.testClient.drain(done);
} else {
done();
}
});
describe('generic errors', function() {
afterEach(function(done) {
if (this.testClient) {
this.testClient.drain(done);
} else {
done();
}
});
var ERROR_RESPONSE = {
status: 400,
headers: {
@@ -208,6 +209,5 @@ describe('dataview error cases', function() {
});
});
});
});