diff options
Diffstat (limited to 'cli/tests/lib_runtime_api.ts')
-rw-r--r-- | cli/tests/lib_runtime_api.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cli/tests/lib_runtime_api.ts b/cli/tests/lib_runtime_api.ts new file mode 100644 index 000000000..848b523a1 --- /dev/null +++ b/cli/tests/lib_runtime_api.ts @@ -0,0 +1,12 @@ +const [errors, program] = await Deno.compile( + "main.ts", + { + "main.ts": `document.getElementById("foo");` + }, + { + lib: ["dom", "esnext"] + } +); + +console.log(errors); +console.log(Object.keys(program)); |