Fixing REST test failure (?).

This commit is contained in:
mike12345567 2024-05-22 16:09:19 +01:00
parent 2ed510dc90
commit e90aa58242
1 changed files with 2 additions and 0 deletions

View File

@ -655,6 +655,7 @@ describe("REST Integration", () => {
}),
get: (header: any) => {
if (header === "content-type") return contentType
if (header === "content-length") return responseData.byteLength
if (header === "content-disposition")
return `attachment; filename="${filename}"`
},
@ -700,6 +701,7 @@ describe("REST Integration", () => {
}),
get: (header: any) => {
if (header === "content-type") return contentType
if (header === "content-length") return responseData.byteLength
if (header === "content-disposition")
// eslint-disable-next-line no-useless-escape
return `attachment; filename="£ and ? rates.pdf"; filename*=UTF-8'\'%C2%A3%20and%20%E2%82%AC%20rates.pdf`