Skip to content

Commit

Permalink
windows git ci is misconfigured, yay
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Sep 20, 2020
1 parent b4be48b commit b96dfb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/ReadTask.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { resolve } from "path"
import * as fse from "fs-extra"
import { tmpdir } from "os"
import { join, resolve } from "path"
import { ExifDateTime } from "./ExifDateTime"
import { exiftool, ExifTool } from "./ExifTool"
import { ReadTask } from "./ReadTask"
Expand Down Expand Up @@ -262,7 +264,9 @@ describe("ReadTask", () => {
after(() => exiftool.end())
const base = `it's a "file".jpg`
it("reads from " + base, async () => {
const t = await exiftool.read(`test/${base}`)
const tmp = join(tmpdir(), base)
await fse.copyFile("./test/quotes.jpg", tmp)
const t = await exiftool.read(tmp)
expect(t.FileName).to.eql(base)
expect(t.MIMEType).to.eql("image/jpeg")
expect(t.ImageDescription).to.eql("image description for quotes test")
Expand Down
File renamed without changes

0 comments on commit b96dfb5

Please sign in to comment.