vitest-mms
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "vitest-mms", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "mongodb-memory-server integration for vitest", | ||
@@ -25,2 +25,7 @@ "exports": { | ||
"import": "./dist/mongoose/setupFile.mjs" | ||
}, | ||
"./mongoose/test": { | ||
"types": "./dist/mongoose/mmsTest.d.ts", | ||
"require": "./dist/mongoose/mmsTest.cjs", | ||
"import": "./dist/mongoose/mmsTest.mjs" | ||
} | ||
@@ -72,5 +77,5 @@ }, | ||
"lint:prettier": "prettier --check .", | ||
"test": "pnpm -r test", | ||
"test": "vitest", | ||
"release": "changelogen --release --push" | ||
} | ||
} |
@@ -129,2 +129,3 @@ # vitest-mms [![NPM Version](https://img.shields.io/npm/v/vitest-mms)](https://www.npmjs.com/package/vitest-mms) | ||
import { mssTest } from "vitest-mms/mongodb/test"; | ||
// or import { mssTest } from "vitest-mms/mongoose/test"; | ||
@@ -131,0 +132,0 @@ mssTest("my test", async ({ db, mongoClient }) => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
13149
18
239
139