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 3933710 commit 16a9130Copy full SHA for 16a9130
tests/integration/indexCheck.test.ts
@@ -1,4 +1,4 @@
1
-import { defaultTestConfig, expectDefined, getResponseContent } from "./helpers.js";
+import { defaultTestConfig, getResponseContent } from "./helpers.js";
2
import { describeWithMongoDB } from "./tools/mongodb/mongodbHelpers.js";
3
4
describe("IndexCheck integration tests", () => {
@@ -79,7 +79,7 @@ describe("IndexCheck integration tests", () => {
79
arguments: {
80
database: integration.randomDbName(),
81
collection: "find-test-collection",
82
- filter: { _id: docs[0]!._id }, // Uses _id index (IDHACK)
+ filter: { _id: docs[0]?._id }, // Uses _id index (IDHACK)
83
},
84
});
85
@@ -461,4 +461,4 @@ describe("IndexCheck integration tests", () => {
461
})
462
);
463
464
-});
+});
0 commit comments