Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"fmt": "mongodb-js-fmt test/*.js bin/*.js index.js",
"check": "mongodb-js-precommit",
"ci": "npm run check && npm test",
"pretest": "mongodb-runner install && mongodb-runner start",
"test": "mocha",
"posttest": "mongodb-runner stop"
"pretest": "mongodb-runner install",
"test": "mocha"
},
"precommit": [
"check"
Expand Down
3 changes: 3 additions & 0 deletions test/fetch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ var _ = require('lodash');
// var debug = require('debug')('mongodb-index-model:text:fetch');

describe('fetch()', function() {
before(require('mongodb-runner/mocha/before')());
after(require('mongodb-runner/mocha/after')());

context('local', function() {
this.slow(2000);
this.timeout(10000);
Expand Down