mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
chore: ignore flaky brotli test (#23020)
Closes https://github.com/denoland/deno/issues/22898
This commit is contained in:
parent
e55777568e
commit
a90a6f3b29
1 changed files with 4 additions and 2 deletions
|
@ -43,7 +43,9 @@ Deno.test("gzip compression sync", { sanitizeResources: false }, () => {
|
|||
assertEquals(decompressed.toString(), "hello world");
|
||||
});
|
||||
|
||||
Deno.test("brotli compression", async () => {
|
||||
Deno.test("brotli compression", {
|
||||
ignore: true,
|
||||
}, async () => {
|
||||
const promise = Promise.withResolvers<void>();
|
||||
const compress = createBrotliCompress();
|
||||
const filePath = relative(
|
||||
|
@ -70,7 +72,7 @@ Deno.test("brotli compression", async () => {
|
|||
]);
|
||||
|
||||
const content = Deno.readTextFileSync("lorem_ipsum.txt");
|
||||
assert(content.startsWith("Lorem ipsum dolor sit amet"));
|
||||
assert(content.startsWith("Lorem ipsum dolor sit amet"), content);
|
||||
try {
|
||||
Deno.removeSync("lorem_ipsum.txt.br");
|
||||
} catch {
|
||||
|
|
Loading…
Add table
Reference in a new issue