mirror of
https://github.com/denoland/deno.git
synced 2025-09-29 13:44:47 +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
|
@ -506,7 +506,7 @@ unitTest(async function transformStreamStartCalledOnce() {
|
|||
|
||||
unitTest(function transformStreamReadableTypeThrows() {
|
||||
assertThrows(
|
||||
// eslint-disable-next-line
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
() => new TransformStream({ readableType: "bytes" as any }),
|
||||
RangeError,
|
||||
undefined,
|
||||
|
@ -516,7 +516,7 @@ unitTest(function transformStreamReadableTypeThrows() {
|
|||
|
||||
unitTest(function transformStreamWirtableTypeThrows() {
|
||||
assertThrows(
|
||||
// eslint-disable-next-line
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
() => new TransformStream({ writableType: "bytes" as any }),
|
||||
RangeError,
|
||||
undefined,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue