diff options
Diffstat (limited to 'tests')
5 files changed, 19 insertions, 0 deletions
diff --git a/tests/specs/workspaces/auto_install_pkg_json_member_only/__test__.jsonc b/tests/specs/workspaces/auto_install_pkg_json_member_only/__test__.jsonc new file mode 100644 index 000000000..15c10d573 --- /dev/null +++ b/tests/specs/workspaces/auto_install_pkg_json_member_only/__test__.jsonc @@ -0,0 +1,4 @@ +{ + "args": "run -A pkg_json/main.ts", + "output": "pkg_json/main.out" +} diff --git a/tests/specs/workspaces/auto_install_pkg_json_member_only/deno.json b/tests/specs/workspaces/auto_install_pkg_json_member_only/deno.json new file mode 100644 index 000000000..0c1e5e08e --- /dev/null +++ b/tests/specs/workspaces/auto_install_pkg_json_member_only/deno.json @@ -0,0 +1,4 @@ +{ + "lock": false, + "workspace": ["pkg_json"] +} diff --git a/tests/specs/workspaces/auto_install_pkg_json_member_only/pkg_json/main.out b/tests/specs/workspaces/auto_install_pkg_json_member_only/pkg_json/main.out new file mode 100644 index 000000000..392591008 --- /dev/null +++ b/tests/specs/workspaces/auto_install_pkg_json_member_only/pkg_json/main.out @@ -0,0 +1,3 @@ +Download http://localhost:4260/chalk +Download http://localhost:4260/chalk/chalk-5.0.1.tgz +Hi diff --git a/tests/specs/workspaces/auto_install_pkg_json_member_only/pkg_json/main.ts b/tests/specs/workspaces/auto_install_pkg_json_member_only/pkg_json/main.ts new file mode 100644 index 000000000..009e10e7e --- /dev/null +++ b/tests/specs/workspaces/auto_install_pkg_json_member_only/pkg_json/main.ts @@ -0,0 +1,3 @@ +import chalk from "chalk"; + +console.log(chalk.green("Hi")); diff --git a/tests/specs/workspaces/auto_install_pkg_json_member_only/pkg_json/package.json b/tests/specs/workspaces/auto_install_pkg_json_member_only/pkg_json/package.json new file mode 100644 index 000000000..c58c3ac3c --- /dev/null +++ b/tests/specs/workspaces/auto_install_pkg_json_member_only/pkg_json/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "chalk": "*" + } +} |