aboutsummaryrefslogtreecommitdiff
path: root/test/testing.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-07 22:17:34 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-07 22:17:34 +0100
commita080fc59a3fca08bdc6e23a2eeae440f5c7047b3 (patch)
tree3d56033c294c617eb7de6b693750efb70a81dd4f /test/testing.js
parent28a0e40b645c051d91626ca90959e847b061c8da (diff)
Use exports for all tests
Diffstat (limited to 'test/testing.js')
-rw-r--r--test/testing.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/testing.js b/test/testing.js
index d70f86e..cb37777 100644
--- a/test/testing.js
+++ b/test/testing.js
@@ -3,22 +3,12 @@ var fs = require("fs");
var promises = require("../lib/promises");
var _ = require("underscore");
-exports.test = test;
exports.testPath = testPath;
exports.testData = testData;
exports.createFakeDocxFile = createFakeDocxFile;
exports.createFakeFiles = createFakeFiles;
-function test(name, func) {
- it(name, function(done) {
- var result = func();
- promises.when(result).then(function() {
- done();
- }).done();
- });
-}
-
function testPath(filename) {
return path.join(__dirname, "test-data", filename);
}