diff options
Diffstat (limited to 'tests/unit_node')
-rw-r--r-- | tests/unit_node/_fs/_fs_fstat_test.ts | 3 | ||||
-rw-r--r-- | tests/unit_node/crypto/crypto_cipher_gcm_test.ts | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/unit_node/_fs/_fs_fstat_test.ts b/tests/unit_node/_fs/_fs_fstat_test.ts index 37f79f475..1464b05c5 100644 --- a/tests/unit_node/_fs/_fs_fstat_test.ts +++ b/tests/unit_node/_fs/_fs_fstat_test.ts @@ -1,4 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. + +// deno-lint-ignore-file no-deprecated-deno-api + import { fstat, fstatSync } from "node:fs"; import { fail } from "@std/assert/mod.ts"; import { assertStats, assertStatsBigInt } from "./_fs_stat_test.ts"; diff --git a/tests/unit_node/crypto/crypto_cipher_gcm_test.ts b/tests/unit_node/crypto/crypto_cipher_gcm_test.ts index 57e40d2ac..f25c81036 100644 --- a/tests/unit_node/crypto/crypto_cipher_gcm_test.ts +++ b/tests/unit_node/crypto/crypto_cipher_gcm_test.ts @@ -2,8 +2,8 @@ import crypto from "node:crypto"; import { Buffer } from "node:buffer"; -import testVectors128 from "./gcmEncryptExtIV128.json" assert { type: "json" }; -import testVectors256 from "./gcmEncryptExtIV256.json" assert { type: "json" }; +import testVectors128 from "./gcmEncryptExtIV128.json" with { type: "json" }; +import testVectors256 from "./gcmEncryptExtIV256.json" with { type: "json" }; import { assertEquals } from "@std/assert/mod.ts"; const aesGcm = (bits: string, key: Uint8Array) => { |