update test sample data
This commit is contained in:
parent
6ca78ce8cb
commit
f7d425189a
@ -64,7 +64,7 @@ function handleTestResult(testStatus, testResult) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Log each test result, count tests and failures. Log test suite run duration.
|
* Log each test result, count tests and failures. Log test suite run duration.
|
||||||
*
|
*
|
||||||
* @param {Object} testStatus - object describing test run data
|
* @param {Object} testStatus - object describing test run data
|
||||||
* @param {Object[]} results - results from TestRegister
|
* @param {Object[]} results - results from TestRegister
|
||||||
*/
|
*/
|
||||||
|
|||||||
BIN
tests/node/sampleData/pic.jpg
Normal file
BIN
tests/node/sampleData/pic.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
@ -793,7 +793,7 @@ jmPGsv1elXxVzqs58UZLD2c3vBhGkU2BV6kRKh+lj/EcVrzsFhGCz/7DKxPoDHLS
|
|||||||
}),
|
}),
|
||||||
|
|
||||||
it("Remove EXIF", () => {
|
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);
|
assert.strictEqual(result.toString().length, 4582);
|
||||||
}),
|
}),
|
||||||
|
|
||||||
@ -958,7 +958,7 @@ smothering ampersand abreast
|
|||||||
|
|
||||||
it("extract EXIF", () => {
|
it("extract EXIF", () => {
|
||||||
assert.strictEqual(
|
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.
|
`Found 7 tags.
|
||||||
|
|
||||||
Orientation: 1
|
Orientation: 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user