diff options
author | Marvin Hagemeister <hello@marvinh.dev> | 2023-04-06 16:12:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 16:12:50 +0200 |
commit | e51985ca749d80d40474489c739cf163b35843e1 (patch) | |
tree | 8c0e7e240540a0cca52f5dde88753895d09a2363 /cli/tests/integration/npm_tests.rs | |
parent | 4cc8784f5b3a71b2a882ff359d593b4b74c9e89b (diff) |
fix(ext/node): fix unable to resolve fraction.js (#18544)
Turns out `autoprefixer` is a better reproduction case then
`microbundle`.
Fixes #18535
Fixes #18600
---------
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r-- | cli/tests/integration/npm_tests.rs | 9 |
1 files changed, 9 insertions, 0 deletions
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", |