summaryrefslogtreecommitdiff
path: root/tests/specs/eval
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/eval')
-rw-r--r--tests/specs/eval/pkg_json_type_cjs/__test__.jsonc4
-rw-r--r--tests/specs/eval/pkg_json_type_cjs/package.json3
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/specs/eval/pkg_json_type_cjs/__test__.jsonc b/tests/specs/eval/pkg_json_type_cjs/__test__.jsonc
new file mode 100644
index 000000000..cd3804d77
--- /dev/null
+++ b/tests/specs/eval/pkg_json_type_cjs/__test__.jsonc
@@ -0,0 +1,4 @@
+{
+ "args": "eval console.log(1)",
+ "output": "1\n"
+}
diff --git a/tests/specs/eval/pkg_json_type_cjs/package.json b/tests/specs/eval/pkg_json_type_cjs/package.json
new file mode 100644
index 000000000..5bbefffba
--- /dev/null
+++ b/tests/specs/eval/pkg_json_type_cjs/package.json
@@ -0,0 +1,3 @@
+{
+ "type": "commonjs"
+}