From a080fc59a3fca08bdc6e23a2eeae440f5c7047b3 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 7 Jul 2016 22:17:34 +0100 Subject: Use exports for all tests --- test/testing.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'test/testing.js') 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); } -- cgit v1.2.3