summaryrefslogtreecommitdiff
path: root/test/TestFixtures.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/TestFixtures.ts')
-rw-r--r--test/TestFixtures.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/TestFixtures.ts b/test/TestFixtures.ts
new file mode 100644
index 0000000..b079fc6
--- /dev/null
+++ b/test/TestFixtures.ts
@@ -0,0 +1,11 @@
+import Java = require('../lib/JavacServices');
+
+export const EMPTY_JAVAC = Java.provideJavac([]);
+
+process.on('unhandledRejection', function(reason, p){
+ if (reason instanceof Error)
+ console.log(reason.stack);
+ else
+ console.log(reason);
+ // application specific logging here
+}); \ No newline at end of file