mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
update test sample data
This commit is contained in:
@@ -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
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", () => {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user