UNPKG

exiftool-vendored

Version:
22 lines 783 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Sidecars_1 = require("./Sidecars"); const _chai_spec_1 = require("./_chai.spec"); describe("Sidecars", () => { describe("isSidecarExt", () => { for (const { p, exp } of [ { p: "test", exp: false }, { p: "test.txt", exp: false }, { p: "test.jpeg", exp: false }, { p: "test.jpg", exp: false }, { p: "test.EXV", exp: true }, { p: "JPEG.MIE", exp: true }, { p: "tiff.XMP", exp: true }, ]) { it(`(${p}) -> ${exp}`, () => { (0, _chai_spec_1.expect)((0, Sidecars_1.isSidecarExt)(p)).to.eql(exp); }); } }); }); //# sourceMappingURL=Sidecars.spec.js.map