summaryrefslogtreecommitdiff
path: root/tests/specs/run/no_deno_json/code/noconfig.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/run/no_deno_json/code/noconfig.ts')
-rw-r--r--tests/specs/run/no_deno_json/code/noconfig.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/specs/run/no_deno_json/code/noconfig.ts b/tests/specs/run/no_deno_json/code/noconfig.ts
new file mode 100644
index 000000000..e6f77f92b
--- /dev/null
+++ b/tests/specs/run/no_deno_json/code/noconfig.ts
@@ -0,0 +1,8 @@
+// ensure the cwd is this directory
+const cwd = Deno.cwd();
+if (!cwd.endsWith("code")) {
+ console.log(cwd);
+ throw "FAIL";
+} else {
+ console.log("success");
+}