mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 05:35:33 +00:00
build: lint cli/tests/unit using deno lint (#6327)
This commit is contained in:
parent
36ad5e4402
commit
ffedbd79ad
8 changed files with 42 additions and 19 deletions
|
@ -747,7 +747,9 @@ unitTest({ perms: { net: true } }, async function fetchBodyReadTwice(): Promise<
|
|||
fail(
|
||||
"Reading body multiple times should failed, the stream should've been locked."
|
||||
);
|
||||
} catch {}
|
||||
} catch {
|
||||
// pass
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -768,7 +770,9 @@ unitTest(
|
|||
try {
|
||||
response.body.getReader();
|
||||
fail("The stream should've been locked.");
|
||||
} catch {}
|
||||
} catch {
|
||||
// pass
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue