aboutsummaryrefslogtreecommitdiff
path: root/test/testing.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/testing.js')
-rw-r--r--test/testing.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/testing.js b/test/testing.js
index 3948556..ef21ba9 100644
--- a/test/testing.js
+++ b/test/testing.js
@@ -1,8 +1,9 @@
var path = require("path");
-var fs = require("fs");
-var promises = require("../lib/promises");
var _ = require("underscore");
+var fs = require("../lib/fs");
+var promises = require("../lib/promises");
+
exports.testPath = testPath;
exports.testData = testData;
exports.createFakeDocxFile = createFakeDocxFile;
@@ -15,7 +16,7 @@ function testPath(filename) {
function testData(testDataPath) {
var fullPath = testPath(testDataPath);
- return promises.nfcall(fs.readFile, fullPath, "utf-8");
+ return fs.readFile(fullPath, "utf-8");
}
function createFakeDocxFile(files) {