Skip to content

Commit b02c199

Browse files
authored
Fix test by removing expectError for _id
Removed error expectation for accessing _id property.
1 parent 304e5a0 commit b02c199

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/types/document.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@ function gh11085(): void {
166166

167167
const newUser = new UserModel();
168168

169-
expectError(() => {
170-
const _id: number = newUser._id;
171-
});
172169
const _id2: Types.ObjectId = newUser._id;
173170
}
174171

0 commit comments

Comments
 (0)