diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/integration/run_tests.rs | 5 | ||||
-rw-r--r-- | cli/tests/testdata/fmt/fmt_with_config_default.out | 2 | ||||
-rw-r--r-- | cli/tests/testdata/run/with_config/auto_discovery_log.out | 11 |
3 files changed, 18 insertions, 0 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index f12282b9f..4c1f6363a 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -2601,6 +2601,11 @@ itest!(config_auto_discovered_for_local_script { output_str: Some("ok\n"), }); +itest!(config_auto_discovered_for_local_script_log { + args: "run -L debug run/with_config/frontend_work.ts", + output: "run/with_config/auto_discovery_log.out", +}); + itest!(no_config_auto_discovery_for_local_script { args: "run --quiet --no-config --check run/with_config/frontend_work.ts", output: "run/with_config/no_auto_discovery.out", diff --git a/cli/tests/testdata/fmt/fmt_with_config_default.out b/cli/tests/testdata/fmt/fmt_with_config_default.out new file mode 100644 index 000000000..faad9352b --- /dev/null +++ b/cli/tests/testdata/fmt/fmt_with_config_default.out @@ -0,0 +1,2 @@ +Config file found at '[WILDCARD]deno.jsonc' +Checked 2 files diff --git a/cli/tests/testdata/run/with_config/auto_discovery_log.out b/cli/tests/testdata/run/with_config/auto_discovery_log.out new file mode 100644 index 000000000..ab5c0f689 --- /dev/null +++ b/cli/tests/testdata/run/with_config/auto_discovery_log.out @@ -0,0 +1,11 @@ +DEBUG RS - deno::args::config_file:529 - Config file found at '[WILDCARD]deno.jsonc' +DEBUG RS - deno::js:33 - Deno isolate init with snapshots. +DEBUG JS - args [] +DEBUG RS - deno::worker:66 - main_module [WILDCARD] +DEBUG RS - deno::proc_state:327 - Preparing module load. +DEBUG RS - deno::cache::parsed_source:156 - Loading cached module analyzer. +DEBUG RS - deno::proc_state:406 - Creating module graph. +DEBUG RS - deno::file_fetcher:551 - FileFetcher::fetch() - specifier: [WILDCARD] +DEBUG RS - deno_runtime::permissions:55 - ⚠️️ Granted read access to "[WILDCARD]" +DEBUG RS - deno::proc_state:498 - Prepared module load. +ok |