From 1d04c84c8f36a88697c82cf98587a5728952314f Mon Sep 17 00:00:00 2001 From: HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:14:19 +0300 Subject: chore: deprecate eval itests (#25382) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR serves as a part of #22907 . --------- Signed-off-by: David Sherret Co-authored-by: Bartek IwaƄczuk Co-authored-by: David Sherret --- tests/specs/eval/env_file_missing/__test__.jsonc | 4 ++++ tests/specs/eval/env_file_missing/main.out | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 tests/specs/eval/env_file_missing/__test__.jsonc create mode 100644 tests/specs/eval/env_file_missing/main.out (limited to 'tests/specs/eval/env_file_missing') 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 -- cgit v1.2.3