Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@shelf/jest-mongodb

Package Overview
Dependencies
292
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.1.0

21

package.json
{
"name": "@shelf/jest-mongodb",
"version": "1.0.1",
"version": "1.1.0",
"description": "Run your tests using Jest & MongoDB in Memory server",

@@ -29,12 +29,15 @@ "license": "MIT",

"debug": "4.1.1",
"mongodb": "3.2.3",
"mongodb-memory-server": "5.1.0"
"mongodb-memory-server": "5.1.5"
},
"peerDependencies": {
"mongodb": "3.x.x"
},
"devDependencies": {
"@shelf/eslint-config": "0.3.2",
"eslint": "5.16.0",
"husky": "2.2.0",
"jest": "24.7.1",
"lint-staged": "8.1.6",
"prettier": "1.17.0"
"@shelf/eslint-config": "0.3.10",
"eslint": "6.0.1",
"husky": "3.0.0",
"jest": "24.8.0",
"lint-staged": "9.0.2",
"mongodb": "3.2.7",
"prettier": "1.18.2"
},

@@ -41,0 +44,0 @@ "jest": {

@@ -13,2 +13,4 @@ # jest-mongodb [![CircleCI](https://circleci.com/gh/shelfio/jest-mongodb/tree/master.svg?style=svg)](https://circleci.com/gh/shelfio/jest-mongodb/tree/master) ![](https://img.shields.io/badge/code_style-prettier-ff69b4.svg) [![npm (scoped)](https://img.shields.io/npm/v/@shelf/jest-mongodb.svg)](https://www.npmjs.com/package/@shelf/jest-mongodb)

Make sure `mongodb` is installed in the project as well, as it's required as a peer dependency.
### 1. Create `jest.config.js`

@@ -22,2 +24,4 @@

If you have a custom `jest.config.js` make sure you remove `testEnvironment` property, otherwise it will conflict with the preset.
### 2. Create `jest-mongodb-config.js`

@@ -24,0 +28,0 @@

{
"extends": [
"config:base"
],
"packageRules": [
{
"groupName": "Frequently updated dev deps",
"automerge": true,
"major": {
"automerge": false
},
"packagePatterns": ["^@babel/", "^babel-", "^eslint", "^jest"],
"packageNames": ["lint-staged", "prettier", "eslint", "jest"]
}
]
"extends": ["github>shelfio/renovate-config"]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc