fix tests after merge; remove detectFileType as it behaves erratically

This commit is contained in:
d98762625 2018-09-04 09:55:41 +01:00
parent 5047619e54
commit 749a587eb2
4 changed files with 5 additions and 11 deletions

View file

@ -956,14 +956,6 @@ smothering ampersand abreast
assert.strictEqual(chef.zlibInflate(chef.zlibDeflate("cut homer wile rooky grits dizen")).toString(), "cut homer wile rooky grits dizen");
}),
it("Detect file type", () => {
assert.strictEqual(
chef.detectFileType(fs.readFileSync("src/web/static/images/cook_male-32x32.png")).toString(),
`File extension: png
MIME type: image/png`);
}),
it("extract EXIF", () => {
assert.strictEqual(
chef.extractEXIF(fs.readFileSync("test/tests/nodeApi/sampleData/pic.jpg")).toString(),