diff options
Diffstat (limited to 'tests/testdata/run/with_package_json/with_stop/some/nested')
| -rw-r--r-- | tests/testdata/run/with_package_json/with_stop/some/nested/deno.json | 5 | ||||
| -rw-r--r-- | tests/testdata/run/with_package_json/with_stop/some/nested/dir/main.ts | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/testdata/run/with_package_json/with_stop/some/nested/deno.json b/tests/testdata/run/with_package_json/with_stop/some/nested/deno.json new file mode 100644 index 000000000..36e1765d1 --- /dev/null +++ b/tests/testdata/run/with_package_json/with_stop/some/nested/deno.json @@ -0,0 +1,5 @@ +{ + "tasks": { + "dev": "deno run main.ts" + } +} diff --git a/tests/testdata/run/with_package_json/with_stop/some/nested/dir/main.ts b/tests/testdata/run/with_package_json/with_stop/some/nested/dir/main.ts new file mode 100644 index 000000000..6016470a1 --- /dev/null +++ b/tests/testdata/run/with_package_json/with_stop/some/nested/dir/main.ts @@ -0,0 +1,6 @@ +// This import should fail, because `package.json` is not discovered, as we're +// stopping the discovery when encountering `deno.json`. +import chalk from "chalk"; + +console.log("ok"); +console.log(chalk); |
