mirror of
https://github.com/gchq/CyberChef
synced 2024-12-29 14:03:10 +00:00
update test sample data
This commit is contained in:
parent
6ca78ce8cb
commit
f7d425189a
3 changed files with 3 additions and 3 deletions
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…
Reference in a new issue