Skip to content

Commit 36cfdb4

Browse files
removed extraneous test
1 parent 1037d9e commit 36cfdb4

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

test/integration/crud/find_and_modify.test.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
import { expect } from 'chai';
22

3-
import {
4-
type Collection,
5-
type CommandStartedEvent,
6-
type Db,
7-
MongoServerError,
8-
ObjectId
9-
} from '../../mongodb';
3+
import { type CommandStartedEvent, MongoServerError, ObjectId } from '../../mongodb';
104
import { setupDatabase } from '../shared';
115

126
describe('Collection (#findOneAnd...)', function () {

test/types/helper_types.test-d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ expectType<NotAcceptedFields<{ a: number; b: string; c: string }, number>>(notAc
6868
expectAssignable<OnlyFieldsOfType<{ a: number; b: string }, number>>({ a: 2 });
6969
expectAssignable<OnlyFieldsOfType<{ a: number; b: string }, string>>({ b: 'hello' });
7070
expectAssignable<OnlyFieldsOfType<{ a: number; b: string }, string, boolean>>({ b: true });
71-
expectAssignable<OnlyFieldsOfType<{ a: number; b: string }, string, boolean>>({ b: true });
7271

7372
// test generic schema, essentially we expect nearly no safety here
7473
expectAssignable<OnlyFieldsOfType<Document, NumericType | undefined>>({ someKey: 2 });

0 commit comments

Comments
 (0)