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

Commit fc2ee1b

Browse files
pzrqrueckstiess
authored andcommitted
Standardise mongodb-runner CI (#55)
* Standardise mongodb-runner CI mongodb-js/connection-model#138 * Remove trailing comma
1 parent 063af69 commit fc2ee1b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
"fmt": "mongodb-js-fmt test/*.js bin/*.js index.js",
1818
"check": "mongodb-js-precommit",
1919
"ci": "npm run check && npm test",
20-
"pretest": "mongodb-runner install && mongodb-runner start",
21-
"test": "mocha",
22-
"posttest": "mongodb-runner stop"
20+
"pretest": "mongodb-runner install",
21+
"test": "mocha"
2322
},
2423
"precommit": [
2524
"check"

test/fetch.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ 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+
1013
context('local', function() {
1114
this.slow(2000);
1215
this.timeout(10000);

0 commit comments

Comments
 (0)