From b83dac3b14340d452ae9a83e5f4da0104407a220 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 14 Jul 2023 13:47:15 -0400 Subject: fix(npm): improve error message importing non-existent file in a node_modules npm package (#19835) --- cli/tests/testdata/npm/nonexistent_file/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/tests/testdata/npm/nonexistent_file/main.js') diff --git a/cli/tests/testdata/npm/nonexistent_file/main.js b/cli/tests/testdata/npm/nonexistent_file/main.js index 4e4657088..c480b0548 100644 --- a/cli/tests/testdata/npm/nonexistent_file/main.js +++ b/cli/tests/testdata/npm/nonexistent_file/main.js @@ -1 +1,2 @@ -import hmacSHA512 from "npm:crypto-js/hmac-sha512"; +import hmacSHA512 from "npm:crypto-js/non-existent"; +console.log(hmacSHA512); -- cgit v1.2.3