Update Bot (j'ai plus le repo sur GitHub)

Qui c'est la conne qui a delete le repo sur GitHub? C'EST MOIIIII
This commit is contained in:
2026-02-09 14:36:26 +01:00
parent eab4419e12
commit ad2014b7b2
586 changed files with 58986 additions and 25205 deletions

View File

@@ -277,6 +277,11 @@ describe("Tests the public API", () => {
]));
});
});
it("detects sqlite (SQLite 3 database file)", () => {
const file = getBytes("a.sqlite");
const result = index_1.filetypemime(file);
expect(result).toContain("application/vnd.sqlite3");
});
it("detects pdf (Libreoffice export)", () => {
// File created using libreoffice writter export to pdf
const file = getBytes("a.pdf");
@@ -301,4 +306,16 @@ describe("Tests the public API", () => {
const result = index_1.filetypemime(file);
expect(result).toContain("image/avif");
});
it("detects aac", () => {
// File created using FFmpeg on a.ogg
const file = getBytes("a.aac");
const result = index_1.filetypemime(file);
expect(result).toContain("audio/aac");
});
it("detects flac", () => {
// File created using FFmpeg on a.ogg
const file = getBytes("a.flac");
const result = index_1.filetypemime(file);
expect(result).toContain("audio/flac");
});
});