diff --git a/deps.ts b/deps.ts index 8e07e8ced..ddc71fbf2 100644 --- a/deps.ts +++ b/deps.ts @@ -1,8 +1,3 @@ -export { - assert, - assertArrayContains, - assertEquals, -} from "https://deno.land/std/testing/asserts.ts"; export { delay } from "https://deno.land/std@0.67.0/async/delay.ts"; export { encode } from "https://deno.land/std@0.67.0/encoding/base64.ts"; export { @@ -12,4 +7,9 @@ export { isWebSocketPongEvent, } from "https://deno.land/std@0.67.0/ws/mod.ts"; export type { WebSocket } from "https://deno.land/std@0.67.0/ws/mod.ts"; +export { + assert, + assertArrayIncludes, + assertEquals, +} from "https://deno.land/std@0.75.0/testing/asserts.ts"; export { decompress_with as inflate } from "https://unpkg.com/@evan/wasm@0.0.11/target/zlib/deno.js"; diff --git a/tests/mod.test.ts b/tests/mod.test.ts index 015378744..bfa3169e7 100644 --- a/tests/mod.test.ts +++ b/tests/mod.test.ts @@ -1,4 +1,4 @@ -import { assert, assertArrayContains, assertEquals, delay } from "../deps.ts"; +import { assert, assertArrayIncludes, assertEquals, delay } from "../deps.ts"; import { botID, cache, @@ -156,7 +156,7 @@ Deno.test({ async fn() { const channel = cache.channels.get(data.channelID); if (!channel) throw "Channel not found"; - assertArrayContains(channel.permission_overwrites!, [ + assertArrayIncludes(channel.permission_overwrites!, [ { id: data.roleID, type: OverwriteType.ROLE,