Skip to content

Commit

Permalink
Update mongo.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Aug 11, 2023
1 parent bab0e9e commit 557a472
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/types/mongo.test.ts
Expand Up @@ -2,8 +2,6 @@ import * as mongoose from 'mongoose';
import { expectType } from 'tsd';
import * as bson from 'bson';

import GridFSBucket = mongoose.mongo.GridFSBucket;

function gh12537() {
const schema = new mongoose.Schema({ test: String });
const model = mongoose.model('Test', schema);
Expand All @@ -16,4 +14,4 @@ function gh12537() {
doc._id = new bson.ObjectId('somehex');
}

gh12537();
gh12537();

0 comments on commit 557a472

Please sign in to comment.