From fdcc78500cc1aff8c87d76abd1692e79977ac9cc Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Mon, 2 Nov 2020 13:51:56 +1100 Subject: refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192) Fixes #8060 --- cli/tests/lib_runtime_api.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/tests/lib_runtime_api.ts') 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()); -- cgit v1.2.3