aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/protocol.node.test.ts (renamed from test/nodeserver.test.ts)4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/nodeserver.test.ts b/test/protocol.node.test.ts
index a15eee4..1c89b9e 100644
--- a/test/nodeserver.test.ts
+++ b/test/protocol.node.test.ts
@@ -22,7 +22,9 @@ import { Template, alternative, array, exact, match, optional
} from '../src/matcher/options';
import { default as types } from '../src/matcher/types';
-import app from '../src/app';
+import * as App from '../src/app';
+let app = App.TestApp();
+
const responseTemplate: Template = {
status: types.string,