diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2023-11-22 12:03:03 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-22 02:03:03 +0100 |
commit | 20aa0796e6ff7651cdfce4d0292bdb11da5dfe2e (patch) | |
tree | 603eb549e887500ce3a6713452ba004239785c88 /cli/tests/unit | |
parent | e3e51313f6059829fc5eeaafe040b00ba9f15154 (diff) |
chore: update to `std@0.207.0` (#21284)
Closes #21002
Diffstat (limited to 'cli/tests/unit')
-rw-r--r-- | cli/tests/unit/broadcast_channel_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/message_channel_test.ts | 5 | ||||
-rw-r--r-- | cli/tests/unit/opcall_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/serve_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/test_util.ts | 2 |
5 files changed, 5 insertions, 8 deletions
diff --git a/cli/tests/unit/broadcast_channel_test.ts b/cli/tests/unit/broadcast_channel_test.ts index fecb26b16..f8b0ef933 100644 --- a/cli/tests/unit/broadcast_channel_test.ts +++ b/cli/tests/unit/broadcast_channel_test.ts @@ -1,5 +1,5 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. -import { assertEquals } from "../../../test_util/std/testing/asserts.ts"; +import { assertEquals } from "../../../test_util/std/assert/mod.ts"; Deno.test("BroadcastChannel worker", async () => { const intercom = new BroadcastChannel("intercom"); diff --git a/cli/tests/unit/message_channel_test.ts b/cli/tests/unit/message_channel_test.ts index 8872fc68b..306d89730 100644 --- a/cli/tests/unit/message_channel_test.ts +++ b/cli/tests/unit/message_channel_test.ts @@ -1,10 +1,7 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // NOTE: these are just sometests to test the TypeScript types. Real coverage is // provided by WPT. -import { - assert, - assertEquals, -} from "../../../test_util/std/testing/asserts.ts"; +import { assert, assertEquals } from "../../../test_util/std/assert/mod.ts"; Deno.test("messagechannel", async () => { const mc = new MessageChannel(); diff --git a/cli/tests/unit/opcall_test.ts b/cli/tests/unit/opcall_test.ts index fb269fc32..d2c65440c 100644 --- a/cli/tests/unit/opcall_test.ts +++ b/cli/tests/unit/opcall_test.ts @@ -1,6 +1,6 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. -import { assertEquals } from "../../../test_util/std/testing/asserts.ts"; +import { assertEquals } from "../../../test_util/std/assert/mod.ts"; import { assert, assertStringIncludes, unreachable } from "./test_util.ts"; Deno.test(async function sendAsyncStackTrace() { diff --git a/cli/tests/unit/serve_test.ts b/cli/tests/unit/serve_test.ts index 20ad7316d..c6977bdb7 100644 --- a/cli/tests/unit/serve_test.ts +++ b/cli/tests/unit/serve_test.ts @@ -3,7 +3,7 @@ import { assertMatch, assertRejects, -} from "../../../test_util/std/testing/asserts.ts"; +} from "../../../test_util/std/assert/mod.ts"; import { Buffer, BufReader, BufWriter } from "../../../test_util/std/io/mod.ts"; import { TextProtoReader } from "../testdata/run/textproto.ts"; import { diff --git a/cli/tests/unit/test_util.ts b/cli/tests/unit/test_util.ts index ccc8f51a1..12de86d6c 100644 --- a/cli/tests/unit/test_util.ts +++ b/cli/tests/unit/test_util.ts @@ -19,7 +19,7 @@ export { fail, unimplemented, unreachable, -} from "../../../test_util/std/testing/asserts.ts"; +} from "../../../test_util/std/assert/mod.ts"; export { deferred } from "../../../test_util/std/async/deferred.ts"; export type { Deferred } from "../../../test_util/std/async/deferred.ts"; export { delay } from "../../../test_util/std/async/delay.ts"; |