mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 23:24:37 +00:00
Add require-await lint rule (#4401)
This commit is contained in:
parent
35f6e2e45d
commit
798904b0f2
67 changed files with 197 additions and 197 deletions
|
@ -5,7 +5,7 @@ import Dirent from "./_fs_dirent.ts";
|
|||
|
||||
test({
|
||||
name: "Closing current directory with callback is successful",
|
||||
async fn() {
|
||||
fn() {
|
||||
let calledBack = false;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
new Dir(".").close((valOrErr: any) => {
|
||||
|
@ -25,7 +25,7 @@ test({
|
|||
|
||||
test({
|
||||
name: "Closing current directory synchronously works",
|
||||
async fn() {
|
||||
fn() {
|
||||
new Dir(".").closeSync();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue