Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add type to test file
  • Loading branch information
sasurau4 authored and shinout committed Jun 8, 2019
1 parent a4bfc5a commit 12dcd97
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions modules/mongodb/test/index.ts
@@ -1,6 +1,9 @@
/* eslint-disable no-console */
import { after, before, describe, it } from "mocha";
import { createEntityClient } from "../src/create-entity-client";
import {
createEntityClient,
PhenylMongoDbEntityClient
} from "../src/create-entity-client";
import assert from "assert";
import { ObjectId } from "bson";
// import { assertEntityClient } from '@phenyl/interfaces'
Expand All @@ -22,7 +25,9 @@ const url = "mongodb://localhost:27017";

describe("MongoDBEntityClient", () => {
let conn: MongoDbConnection;
let entityClient: any;
let entityClient: PhenylMongoDbEntityClient<{
user: { id: string; name: string };
}>;

const HEX_24_ID = "000000000123456789abcdef";
let generatedId: string;
Expand Down

0 comments on commit 12dcd97

Please sign in to comment.