Skip to content

Commit 243468a

Browse files
author
Garret Meier
committed
Merge branch 'master' of github.com:mixmaxhq/mongo-cursor-pagination into add-hint
2 parents 17616da + 0035513 commit 243468a

20 files changed

+10616
-5311
lines changed

.travis.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@Library('scm-service-library') _
2+
3+
npmModulePipeline {}

jest.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
clearMocks: true,
3+
collectCoverageFrom: ['src/**/*.js'],
4+
testEnvironment: 'node',
5+
};

package-lock.json

Lines changed: 8156 additions & 4164 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"scripts": {
1212
"ci": "npm run lint && npm run test",
13-
"test": "DRIVER=mongoist ava && DRIVER=native ava",
13+
"test": "DRIVER=mongoist jest && DRIVER=native jest",
1414
"lint": "eslint .",
1515
"babelBuild": "babel src -d dist/node",
1616
"babelWatch": "babel --watch src -d dist/node",
@@ -45,16 +45,15 @@
4545
},
4646
"devDependencies": {
4747
"@mixmaxhq/prettier-config": "^1.0.0",
48-
"ava": "^0.22.0",
49-
"ava-spec": "^1.1.0",
5048
"babel-cli": "^6.26.0",
5149
"babel-core": "^6.26.0",
5250
"babel-plugin-transform-async-to-generator": "^6.24.1",
5351
"eslint": "^6.8.0",
5452
"eslint-config-mixmax": "^3.4.0",
53+
"jest": "^26.0.1",
5554
"mockgoose": "^8.0.4",
5655
"mongodb": "^2.2.11",
57-
"mongodb-memory-server": "^1.6.1",
56+
"mongodb-memory-server": "^5.2.11",
5857
"mongoist": "2.3.0",
5958
"mongoose": "5.7.5",
6059
"prettier": "^1.19.1"

spec/.eslintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

spec/.jshintrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)