Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matevzv committed Aug 22, 2018
1 parent 78eb914 commit 575f993
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ install:
services:
- mongodb

script: mocha tests/basic.js --exit
script:
- node app.js &
- sleep 5
- mocha tests/basic.js
7 changes: 0 additions & 7 deletions tests/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ var chaiHttp = require('chai-http');
chai.use(chaiHttp);

describe('test basic operation', function() {
this.timeout(60000);

before(function(done) {
var spawn = require('child_process').spawn;
var srv = spawn('node', ['app.js']);
setTimeout(done, 10000);
})

it('should run server and load login page', function(done) {
var fs = require('fs');
Expand Down

0 comments on commit 575f993

Please sign in to comment.