aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorjw2552018-02-22 16:57:45 +0000
committerjw2552018-02-22 16:57:45 +0000
commit77bfad0307f4e5daea0584a30b0dcf24ccc9ec42 (patch)
tree42ce68ae0ebe939d6492a39616158278ed0f61d6 /test
parentMerge branch 'trh/yarn' into trh/payload-checker (diff)
downloadmedicine-77bfad0307f4e5daea0584a30b0dcf24ccc9ec42.tar.gz
medicine-77bfad0307f4e5daea0584a30b0dcf24ccc9ec42.zip

restructuring of tests

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,