feat(npm): support bare specifiers from package.json in more subcommands and language server (#17891)

This commit is contained in:
David Sherret 2023-02-23 10:58:10 -05:00 committed by GitHub
parent 214bdbbc2b
commit 344317ec50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 472 additions and 95 deletions

View file

@ -2,6 +2,7 @@
use deno_core::url::Url;
use test_util as util;
use util::env_vars_for_npm_tests;
#[test]
fn no_color() {
@ -452,3 +453,13 @@ itest!(parallel_output {
output: "test/parallel_output.out",
exit_code: 1,
});
itest!(package_json_basic {
args: "test",
output: "package_json/basic/main.test.out",
envs: env_vars_for_npm_tests(),
http_server: true,
cwd: Some("package_json/basic"),
copy_temp_dir: Some("package_json/basic"),
exit_code: 0,
});