diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-02-13 13:05:10 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 02:05:10 +0000 |
commit | 92f61882531a0dfa2bd57ab0804daec88721760b (patch) | |
tree | 29be9e4401437f842a0c4630781a3283d0ab6bb1 /tests/unit_node/_fs/_fs_readdir_test.ts | |
parent | d236fc8b434a997f3588f673c5841b18ebdd8086 (diff) |
chore: use `@std` import instead of `@test_util/std` (#22398)
This PR:
1. Replaces `@test_util/std`-prefixed imports with `@std`.
2. Adds `@std/` import map entries to a few `deno.json` files.
Diffstat (limited to 'tests/unit_node/_fs/_fs_readdir_test.ts')
-rw-r--r-- | tests/unit_node/_fs/_fs_readdir_test.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/unit_node/_fs/_fs_readdir_test.ts b/tests/unit_node/_fs/_fs_readdir_test.ts index eaacbfc5e..b54e15816 100644 --- a/tests/unit_node/_fs/_fs_readdir_test.ts +++ b/tests/unit_node/_fs/_fs_readdir_test.ts @@ -1,12 +1,8 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import { - assertEquals, - assertNotEquals, - fail, -} from "@test_util/std/assert/mod.ts"; +import { assertEquals, assertNotEquals, fail } from "@std/assert/mod.ts"; import { assertCallbackErrorUncaught } from "../_test_utils.ts"; import { readdir, readdirSync } from "node:fs"; -import { join } from "@test_util/std/path/mod.ts"; +import { join } from "@std/path/mod.ts"; Deno.test({ name: "ASYNC: reading empty directory", |