aboutsummaryrefslogtreecommitdiff
path: root/tests/testing.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-03-29 18:57:02 +0000
committerMichael Williamson <mike@zwobble.org>2013-03-29 18:57:02 +0000
commit504f59e38e57b543ac87f73df53fe3a6ba34e26d (patch)
treeec6b292b8d16169e9b957864b1c3be369eb6d54d /tests/testing.js
Very basic conversion from docx to HTML
Diffstat (limited to 'tests/testing.js')
-rw-r--r--tests/testing.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testing.js b/tests/testing.js
new file mode 100644
index 0000000..ac413c8
--- /dev/null
+++ b/tests/testing.js
@@ -0,0 +1,10 @@
+exports.test = test;
+
+function test(name, func) {
+ it(name, function(done) {
+ var result = func();
+ result.then(function() {
+ done()
+ }).done();
+ });
+}