Skip to content

Commit 3481a14

Browse files
author
Lars Kölpin-Freese
committed
test: update tar assertion
1 parent c713c8b commit 3481a14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ describe("Tests the public API", () => {
1111
const buffer = fs.readFileSync(require.resolve("./testfiles/a.tar"));
1212
const bytes = Array.prototype.slice.call(buffer, 0);
1313
expect(filetypeinfo(bytes)).toHaveLength(1);
14+
expect(filetypeinfo(bytes)[0].typename).toBe("tar");
1415
});
1516

1617
it("filetypeinfo", () => {

0 commit comments

Comments
 (0)