From 65c8b80fab9514199c22cf95d1f37bee2859a2f7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 26 Apr 2018 15:30:39 +0900 Subject: [PATCH] Fix test --- test/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api.ts b/test/api.ts index b85511d802..d5517f9235 100644 --- a/test/api.ts +++ b/test/api.ts @@ -18,7 +18,7 @@ const chaiHttp = require('chai-http'); _chai.use(chaiHttp); -const server = require('../built/server/api'); +const server = require('../built/server/api').callback(); const db = require('../built/db/mongodb').default; const async = fn => (done) => {