From da52058a945999d486b07700d2834f027a65947c Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 29 Apr 2024 10:08:27 -0400 Subject: chore: migrate bench, publish, and more itests to spec tests (#23584) --- tests/specs/run/no_deno_json/code/noconfig.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/specs/run/no_deno_json/code/noconfig.ts (limited to 'tests/specs/run/no_deno_json/code/noconfig.ts') 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"); +} -- cgit v1.2.3