Skip to content

Commit f4fdb3a

Browse files
committed
fixup! feat: Filter invalid ObjectId constructor types in getIds
1 parent 79e6b02 commit f4fdb3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/__tests__/utils.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { deepStrictEqual, ok } from 'node:assert/strict';
2-
import { describe, test, TestContext } from 'node:test';
2+
import { describe, test } from 'node:test';
33
import { ObjectId } from 'mongodb';
44
import { expectType } from 'ts-expect';
55
import { DefaultsOption } from '../schema';
@@ -451,7 +451,7 @@ describe('utils', () => {
451451
for (const testCase of testCases) {
452452
const [caseName, { input, expected }] = testCase;
453453

454-
test(`case ${caseName}`, (t: TestContext) => {
454+
test(`case ${caseName}`, () => {
455455
// Given
456456
ok(expected.length <= input.length);
457457

0 commit comments

Comments
 (0)