Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { normalizeUploadMimeType } from "./fileService.server";
|
||||
|
||||
describe("normalizeUploadMimeType", () => {
|
||||
it("accepts browser MediaRecorder codec parameters through the canonical Files allow-list value", () => {
|
||||
expect(normalizeUploadMimeType("audio/webm;codecs=opus")).toBe("audio/webm");
|
||||
expect(normalizeUploadMimeType(" Audio/OGG ; codecs=opus ")).toBe("audio/ogg");
|
||||
expect(normalizeUploadMimeType("audio/x-m4a")).toBe("audio/mp4");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user