THRIFT-4406: Optionally generate ES6 compatible JavaScript where service methods return Promises
includes tests and TypeScript support
Client: js
This closes #1452
diff --git a/lib/js/test/test-async.js b/lib/js/test/test-async.js
index b56f2a2..b4e9854 100644
--- a/lib/js/test/test-async.js
+++ b/lib/js/test/test-async.js
@@ -345,4 +345,12 @@
});
});
+module('Oneway');
+ asyncTest('testOneway', function() {
+ expect(1);
+ client.testOneway(1, function(result) {
+ equal(result, undefined);
+ QUnit.start();
+ });
+ });
\ No newline at end of file