diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-01-21 19:08:29 -0800 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-01-21 19:08:29 -0800 |
commit | 5d1fd7ce47de35464e6a4a929ec7f094cd99326c (patch) | |
tree | 756b05c8fc9ddb8833497b187da39d35cf52a893 | |
parent | 8a85a73bc56a9e7ffa86568437c1626c65cc2367 (diff) |
Import from MONOREPO
-rw-r--r-- | server/src/server.test.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/server/src/server.test.ts b/server/src/server.test.ts index d92ae0f..566293a 100644 --- a/server/src/server.test.ts +++ b/server/src/server.test.ts @@ -1,8 +1,12 @@ import { runServer } from "./server"; import process from "process"; -// we test the server using the client -import { dbFactory, DatabaseConnection } from "naive-client"; +// We test the server using the client. +// It would be better to import this +// from a linked npm package, +// but that requires rebuilding each time +// so fuck it for now +import { dbFactory, DatabaseConnection } from "../../client/src"; const port = +(process.env.PORT || 5000); const httpPort = port; |