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_ref.ts | |
| parent | 3558769d4654aad478804e506ccdcac38881dac1 (diff) | |
refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192)
Fixes #8060
Diffstat (limited to 'cli/tests/lib_ref.ts')
| -rw-r--r-- | cli/tests/lib_ref.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/lib_ref.ts b/cli/tests/lib_ref.ts index 0a4ce3fc7..7b7bc4eca 100644 --- a/cli/tests/lib_ref.ts +++ b/cli/tests/lib_ref.ts @@ -1,7 +1,7 @@ const [errors, program] = await Deno.compile( - "main.ts", + "/main.ts", { - "main.ts": + "/main.ts": `/// <reference lib="dom" />\n\ndocument.getElementById("foo");\nDeno.args;`, }, { @@ -11,4 +11,4 @@ const [errors, program] = await Deno.compile( ); console.log(errors); -console.log(Object.keys(program)); +console.log(Object.keys(program).sort()); |
