Skip to content

Commit

Permalink
Merge pull request #26 from Monirul1/hw8
Browse files Browse the repository at this point in the history
hw8-cleanups
  • Loading branch information
Monirul1 authored May 5, 2023
2 parents c831e96 + 1517b3c commit 3f5bcea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
12 changes: 10 additions & 2 deletions src/__tests__/mongo-wrapper.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
import { InsertManyResult, InsertOneResult, MongoServerError } from 'mongodb';
import { InsertOneResult, MongoServerError, ObjectId } from 'mongodb';
import { MongoDbWrapperInterface, MongoDbWrapper } from '../mongo-wrapper';
import { User } from '../utils/user';

interface User extends Document {
_id: ObjectId;
name: string;
email: string;
age: number;
}

export { User };

describe('MongoDbWrapper', () => {
let mongoDbWrapper: MongoDbWrapperInterface;
Expand Down
10 changes: 0 additions & 10 deletions src/utils/user.ts

This file was deleted.

0 comments on commit 3f5bcea

Please sign in to comment.