Repair grunt express task

This commit is contained in:
Gaël Métais
2014-12-22 22:08:24 +01:00
parent 7aede20819
commit d6f76de349
3 changed files with 19 additions and 23 deletions
-14
View File
@@ -16,14 +16,6 @@ describe('api', function() {
var syncRunResultUrl;
var asyncRunId;
var apiServer;
// Start the server
before(function(done) {
apiServer = require('../../bin/server.js');
apiServer.startTests = done;
});
it('should refuse a query with an invalid key', function(done) {
@@ -451,10 +443,4 @@ describe('api', function() {
});
});
// Stop the server
after(function() {
console.log('Closing the server');
apiServer.close();
});
});