We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d403e0 commit 7608177Copy full SHA for 7608177
README.md
@@ -129,6 +129,8 @@ test("some test", async () => {
129
### Using extended context (mongoose)
130
131
```js
132
+import { mssTest } from "vitest-mms/mongoose/test";
133
+
134
// index.test.js
135
test("my test", async ({ connection }) => {
136
const User = connection.model("User", new Schema({ name: String }));
@@ -150,7 +152,6 @@ import { defineConfig } from "vitest/config";
150
152
export default defineConfig({
151
153
test: {
154
globalSetup: ["vitest-mms/globalSetupReplSet"],
- setupFiles: ["vitest-mms/mongodb/setupFile"],
155
vitestMms: {
156
mongodbMemoryServerOptions: {
157
replSet: { count: 4 },
0 commit comments