From 3c7057d5832bae61de7f5001df85d2505d6aa9db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Hern=C3=A1ndez?= <73640929+javihernant@users.noreply.github.com> Date: Sun, 18 Feb 2024 15:30:27 +0100 Subject: fix: util.parseArgs() missing node:process import (#22405) fix parseArgs() not working due to missing import of node:process this commit fixes issue #22363 --- tests/unit_node/util_test.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/unit_node/util_test.ts') diff --git a/tests/unit_node/util_test.ts b/tests/unit_node/util_test.ts index e01226e3a..85fa72741 100644 --- a/tests/unit_node/util_test.ts +++ b/tests/unit_node/util_test.ts @@ -315,3 +315,10 @@ Deno.test({ ); }, }); + +Deno.test({ + name: "[util] parseArgs() with no args works", + fn() { + util.parseArgs({}); + }, +}); -- cgit v1.2.3