aboutsummaryrefslogtreecommitdiff
path: root/test/client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/client.ts')
-rw-r--r--test/client.ts14
1 files changed, 1 insertions, 13 deletions
diff --git a/test/client.ts b/test/client.ts
index 182859b..5f96339 100644
--- a/test/client.ts
+++ b/test/client.ts
@@ -1,19 +1,7 @@
-import { Schema } from 'mongoose';
import { Client } from '../lib';
-import { Event as EventBase } from '../lib/event.model';
import connection from './utils/dbConnection';
-interface Context {
- message: string;
-}
-
-export type Event = EventBase<Context>;
-
-const contextSchema = new Schema({
- message: String
-});
-
-const client = new Client<Context>(connection, contextSchema);
+const client = new Client(connection);
export default client;