diff options
| author | HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com> | 2024-09-03 18:14:19 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-03 15:14:19 +0000 |
| commit | 1d04c84c8f36a88697c82cf98587a5728952314f (patch) | |
| tree | 16d57ecda9e50197a2f6e8443bb6b6eebd92ec86 /tests/specs/eval/dyn_import_eval | |
| parent | b8ed6f822174b2322fbe9f8b58698b76b5505b4a (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/dyn_import_eval')
| -rw-r--r-- | tests/specs/eval/dyn_import_eval/__test__.jsonc | 4 | ||||
| -rw-r--r-- | tests/specs/eval/dyn_import_eval/main.out | 1 | ||||
| -rw-r--r-- | tests/specs/eval/dyn_import_eval/mod4.js | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/specs/eval/dyn_import_eval/__test__.jsonc b/tests/specs/eval/dyn_import_eval/__test__.jsonc new file mode 100644 index 000000000..34e573493 --- /dev/null +++ b/tests/specs/eval/dyn_import_eval/__test__.jsonc @@ -0,0 +1,4 @@ +{ + "args": "eval import('./mod4.js').then(console.log)", + "output": "main.out" +} diff --git a/tests/specs/eval/dyn_import_eval/main.out b/tests/specs/eval/dyn_import_eval/main.out new file mode 100644 index 000000000..89e16b478 --- /dev/null +++ b/tests/specs/eval/dyn_import_eval/main.out @@ -0,0 +1 @@ +[Module: null prototype] { isMod4: true } diff --git a/tests/specs/eval/dyn_import_eval/mod4.js b/tests/specs/eval/dyn_import_eval/mod4.js new file mode 100644 index 000000000..71332dbc4 --- /dev/null +++ b/tests/specs/eval/dyn_import_eval/mod4.js @@ -0,0 +1 @@ +export const isMod4 = true; |
