summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/with_package_json/with_stop
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/run/with_package_json/with_stop')
-rw-r--r--cli/tests/testdata/run/with_package_json/with_stop/main.out5
-rw-r--r--cli/tests/testdata/run/with_package_json/with_stop/package.json8
-rw-r--r--cli/tests/testdata/run/with_package_json/with_stop/some/nested/deno.json5
-rw-r--r--cli/tests/testdata/run/with_package_json/with_stop/some/nested/dir/main.ts6
4 files changed, 0 insertions, 24 deletions
diff --git a/cli/tests/testdata/run/with_package_json/with_stop/main.out b/cli/tests/testdata/run/with_package_json/with_stop/main.out
deleted file mode 100644
index b199faf8d..000000000
--- a/cli/tests/testdata/run/with_package_json/with_stop/main.out
+++ /dev/null
@@ -1,5 +0,0 @@
-[WILDCARD]Config file found at '[WILDCARD]with_package_json[WILDCARD]with_stop[WILDCARD]some[WILDCARD]nested[WILDCARD]deno.json'
-[WILDCARD]No package.json file found
-[WILDCARD]
-error: Relative import path "chalk" not prefixed with / or ./ or ../
- at file:///[WILDCARD]with_package_json/with_stop/some/nested/dir/main.ts:3:19
diff --git a/cli/tests/testdata/run/with_package_json/with_stop/package.json b/cli/tests/testdata/run/with_package_json/with_stop/package.json
deleted file mode 100644
index 9ee3f39a8..000000000
--- a/cli/tests/testdata/run/with_package_json/with_stop/package.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "dependencies": {
- "@denotest/check-error": "1.0.0"
- },
- "devDependencies": {
- "@denotest/cjs-default-export": "1.0.0"
- }
-}
diff --git a/cli/tests/testdata/run/with_package_json/with_stop/some/nested/deno.json b/cli/tests/testdata/run/with_package_json/with_stop/some/nested/deno.json
deleted file mode 100644
index 36e1765d1..000000000
--- a/cli/tests/testdata/run/with_package_json/with_stop/some/nested/deno.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "tasks": {
- "dev": "deno run main.ts"
- }
-}
diff --git a/cli/tests/testdata/run/with_package_json/with_stop/some/nested/dir/main.ts b/cli/tests/testdata/run/with_package_json/with_stop/some/nested/dir/main.ts
deleted file mode 100644
index 6016470a1..000000000
--- a/cli/tests/testdata/run/with_package_json/with_stop/some/nested/dir/main.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-// 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);