mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix
This commit is contained in:
parent
73f866c643
commit
5867a8c030
1 changed files with 1 additions and 0 deletions
|
@ -541,6 +541,7 @@ Deno.test(async function decompressionStreamInvalidGzipStillReported() {
|
|||
|
||||
Deno.test(function readableStreamFromWithStringThrows() {
|
||||
assertThrows(
|
||||
// @ts-expect-error
|
||||
() => ReadableStream.from("string"),
|
||||
TypeError,
|
||||
"Failed to execute 'ReadableStream.from': Argument 1 can not be converted to async iterable.",
|
||||
|
|
Loading…
Reference in a new issue