Skip to content

Commit

Permalink
Merge branch 'master' into tests-realtime-tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
iamigo committed Aug 14, 2017
2 parents 99002e4 + 90b7f6a commit f54057f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
10 changes: 1 addition & 9 deletions tests/roomFlag/roomFlagDisabled.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* tests/api/v1/roomFlag/roomFlagDisabled.js
*/
'use strict';

const supertest = require('supertest');
const api = supertest(require('../../index').app);
const constants = require('../../api/v1/constants');
Expand All @@ -21,13 +20,6 @@ describe('Rooms path is found', () => {
it('GET is found', (done) => {
api.get(path)
.expect(constants.httpStatus.NOT_FOUND)
.end((err /* , res */) => {
if (err) {
return done(err);
}

done();
});
.end(done);
});
});

10 changes: 1 addition & 9 deletions tests/roomFlag/roomFlagEnabled.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* tests/api/v1/roomFlag/roomFlagEnabled.js
*/
'use strict';

const supertest = require('supertest');
const api = supertest(require('../../index').app);
const constants = require('../../api/v1/constants');
Expand All @@ -21,13 +20,6 @@ describe('Rooms path is found', () => {
it('GET is found', (done) => {
api.get(path)
.expect(constants.httpStatus.OK)
.end((err /* , res */) => {
if (err) {
return done(err);
}

done();
});
.end(done);
});
});

0 comments on commit f54057f

Please sign in to comment.