summaryrefslogtreecommitdiff
path: root/tests/specs/eval/env_file_missing
diff options
context:
space:
mode:
authorHasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com>2024-09-03 18:14:19 +0300
committerGitHub <noreply@github.com>2024-09-03 15:14:19 +0000
commit1d04c84c8f36a88697c82cf98587a5728952314f (patch)
tree16d57ecda9e50197a2f6e8443bb6b6eebd92ec86 /tests/specs/eval/env_file_missing
parentb8ed6f822174b2322fbe9f8b58698b76b5505b4a (diff)
chore: deprecate eval itests (#25382)
This PR serves as a part of #22907 . --------- Signed-off-by: David Sherret <dsherret@users.noreply.github.com> Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com> Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
Diffstat (limited to 'tests/specs/eval/env_file_missing')
-rw-r--r--tests/specs/eval/env_file_missing/__test__.jsonc4
-rw-r--r--tests/specs/eval/env_file_missing/main.out2
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/specs/eval/env_file_missing/__test__.jsonc b/tests/specs/eval/env_file_missing/__test__.jsonc
new file mode 100644
index 000000000..fc4e46380
--- /dev/null
+++ b/tests/specs/eval/env_file_missing/__test__.jsonc
@@ -0,0 +1,4 @@
+{
+ "args": "eval --env-file=missing console.log(Deno.env.get(\"ANOTHER_FOO\"));",
+ "output": "main.out"
+}
diff --git a/tests/specs/eval/env_file_missing/main.out b/tests/specs/eval/env_file_missing/main.out
new file mode 100644
index 000000000..b9e219af3
--- /dev/null
+++ b/tests/specs/eval/env_file_missing/main.out
@@ -0,0 +1,2 @@
+Warning The `--env-file` flag was used, but the environment file specified 'missing' was not found.
+undefined