summaryrefslogtreecommitdiff
path: root/tests/unit_node
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-06-05 00:09:29 +0100
committerGitHub <noreply@github.com>2024-06-05 01:09:29 +0200
commiteb218c0f3344eabfa8abf4c7ecac148f14fc6294 (patch)
tree10a8f125b79830e02e568e1cf7b0c63976616fb5 /tests/unit_node
parent29a075de2b625e1c893f6fad163a6d6937894a7a (diff)
chore: upgrade dlint to 0.60.0 (#24041)
Factoring out `dlint` upgrade from https://github.com/denoland/deno/pull/24034 as it requires us to change the lint step on mac to use ARM runners. --------- Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
Diffstat (limited to 'tests/unit_node')
-rw-r--r--tests/unit_node/_fs/_fs_fstat_test.ts3
-rw-r--r--tests/unit_node/crypto/crypto_cipher_gcm_test.ts4
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) => {