🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

cypress-mongodb

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-mongodb - npm Package Compare versions

Comparing version

to
1.0.3

2

package.json
{
"name": "cypress-mongodb",
"version": "1.0.2",
"version": "1.0.3",
"description": "Cypress MongoDB plugin",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -24,5 +24,6 @@ # Introduction

const deleteClause = {document: 1};
cy.deleteOne(oneDocument, 'new_collection', 'some_database');
cy.deleteMany(manyDocuments); // defaults to collection and database from env variables
cy.deleteMany(deleteClause); // defaults to collection and database from env variables

@@ -29,0 +30,0 @@ const pipeline = []; // any kind of aggregation