This commit is contained in:
Kenta Moriuchi 2024-11-16 05:30:27 +09:00
parent 5867a8c030
commit 71df4fd84d
No known key found for this signature in database
GPG Key ID: AC843C584A91BE0C

View File

@ -541,7 +541,7 @@ Deno.test(async function decompressionStreamInvalidGzipStillReported() {
Deno.test(function readableStreamFromWithStringThrows() {
assertThrows(
// @ts-expect-error
// @ts-expect-error: primitives are not acceptable
() => ReadableStream.from("string"),
TypeError,
"Failed to execute 'ReadableStream.from': Argument 1 can not be converted to async iterable.",