diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-08-28 19:55:24 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-08-28 19:55:38 +0100 |
| commit | b1ae23f544c479d2b71347bbf67df7baac40d78f (patch) | |
| tree | 383e694dae42ba544f690c3b0ab388a7931c0793 /test/testing.js | |
| parent | 7dba15069f9a606b9e248d7e4cd024ddaa6ac3e3 (diff) | |
| parent | c42714e5f4b643de27b106a084601e39b7e5d04c (diff) | |
Merge branch 'master' into image-errors
Conflicts:
test/mammoth.tests.js
Diffstat (limited to 'test/testing.js')
| -rw-r--r-- | test/testing.js | 10 |
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); } |
