Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Commit 19eb5ce

Browse files
authored
Fix runner failures on travis (#53)
1 parent e0ec8b6 commit 19eb5ce

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"fmt": "mongodb-js-fmt test/*.js bin/*.js index.js",
1818
"check": "mongodb-js-precommit",
1919
"ci": "npm run check && npm test",
20-
"test": "mocha"
20+
"pretest": "mongodb-runner install && mongodb-runner start",
21+
"test": "mocha",
22+
"posttest": "mongodb-runner stop"
2123
},
2224
"precommit": [
2325
"check"

test/fetch.test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ var _ = require('lodash');
77
// var debug = require('debug')('mongodb-index-model:text:fetch');
88

99
describe('fetch()', function() {
10-
before(require('mongodb-runner/mocha/before')());
11-
after(require('mongodb-runner/mocha/after')());
12-
1310
context('local', function() {
1411
this.slow(2000);
1512
this.timeout(10000);

0 commit comments

Comments
 (0)