ソースを参照

update test sample data

d98762625 6 年 前
コミット
f7d425189a
3 ファイル変更3 行追加3 行削除
  1. 1 1
      tests/lib/utils.mjs
  2. BIN
      tests/node/sampleData/pic.jpg
  3. 2 2
      tests/node/tests/ops.mjs

+ 1 - 1
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
  */

BIN
tests/node/sampleData/pic.jpg


+ 2 - 2
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