From e51985ca749d80d40474489c739cf163b35843e1 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Thu, 6 Apr 2023 16:12:50 +0200 Subject: fix(ext/node): fix unable to resolve fraction.js (#18544) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Turns out `autoprefixer` is a better reproduction case then `microbundle`. Fixes #18535 Fixes #18600 --------- Co-authored-by: Bartek IwaƄczuk --- cli/tests/integration/npm_tests.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cli/tests/integration/npm_tests.rs') diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index ba9e1bdde..ea93d8879 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -735,6 +735,15 @@ itest!(node_modules_dir_require_added_node_modules_folder { temp_cwd: true, }); +itest!(node_modules_dir_require_main_entry { + args: "run --node-modules-dir -A --quiet $TESTDATA/npm/require_main/main.js", + output: "npm/require_main/main.out", + envs: env_vars_for_npm_tests(), + http_server: true, + exit_code: 0, + temp_cwd: true, +}); + itest!(node_modules_dir_with_deps { args: "run --allow-read --allow-env --node-modules-dir $TESTDATA/npm/cjs_with_deps/main.js", output: "npm/cjs_with_deps/main_node_modules.out", -- cgit v1.2.3