diff --git a/tests/lib/utils.mjs b/tests/lib/utils.mjs index 241a72fc..4f27492c 100644 --- a/tests/lib/utils.mjs +++ b/tests/lib/utils.mjs @@ -64,7 +64,7 @@ function handleTestResult(testStatus, testResult) { /** * Log each test result, count tests and failures. Log test suite run duration. - * + * * @param {Object} testStatus - object describing test run data * @param {Object[]} results - results from TestRegister */ diff --git a/tests/node/sampleData/pic.jpg b/tests/node/sampleData/pic.jpg new file mode 100644 index 00000000..05c21327 Binary files /dev/null and b/tests/node/sampleData/pic.jpg differ diff --git a/tests/node/tests/ops.mjs b/tests/node/tests/ops.mjs index 8d05f8c3..864adf5a 100644 --- a/tests/node/tests/ops.mjs +++ b/tests/node/tests/ops.mjs @@ -793,7 +793,7 @@ jmPGsv1elXxVzqs58UZLD2c3vBhGkU2BV6kRKh+lj/EcVrzsFhGCz/7DKxPoDHLS }), it("Remove EXIF", () => { - const result = chef.removeEXIF(fs.readFileSync("test/tests/nodeApi/sampleData/pic.jpg")); + const result = chef.removeEXIF(fs.readFileSync("tests/node/sampleData/pic.jpg")); assert.strictEqual(result.toString().length, 4582); }), @@ -958,7 +958,7 @@ smothering ampersand abreast it("extract EXIF", () => { assert.strictEqual( - chef.extractEXIF(fs.readFileSync("test/tests/nodeApi/sampleData/pic.jpg")).toString(), + chef.extractEXIF(fs.readFileSync("tests/node/sampleData/pic.jpg")).toString(), `Found 7 tags. Orientation: 1