diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-11-02 13:51:56 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 13:51:56 +1100 |
commit | fdcc78500cc1aff8c87d76abd1692e79977ac9cc (patch) | |
tree | b3ce97db2d23344c9469d9488097601058b5e0e5 /cli/tests/lib_runtime_api.ts | |
parent | 3558769d4654aad478804e506ccdcac38881dac1 (diff) |
refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192)
Fixes #8060
Diffstat (limited to 'cli/tests/lib_runtime_api.ts')
-rw-r--r-- | cli/tests/lib_runtime_api.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/lib_runtime_api.ts b/cli/tests/lib_runtime_api.ts index 788288f72..fc00825e9 100644 --- a/cli/tests/lib_runtime_api.ts +++ b/cli/tests/lib_runtime_api.ts @@ -1,7 +1,7 @@ const [errors, program] = await Deno.compile( - "main.ts", + "/main.ts", { - "main.ts": `document.getElementById("foo");`, + "/main.ts": `document.getElementById("foo");`, }, { lib: ["dom", "esnext"], @@ -9,4 +9,4 @@ const [errors, program] = await Deno.compile( ); console.log(errors); -console.log(Object.keys(program)); +console.log(Object.keys(program).sort()); |