From e68490c5e4cf7d7085266fde61183bdb67d864cd Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Sun, 28 Apr 2019 20:48:34 +0100 Subject: [PATCH] test(ivy): fix ESM5 test code to use `var` rather than `const` (#25445) PR Close #25445 --- packages/compiler-cli/ngcc/test/host/esm5_host_spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/compiler-cli/ngcc/test/host/esm5_host_spec.ts b/packages/compiler-cli/ngcc/test/host/esm5_host_spec.ts index 657b299b31..9c38c7f4fb 100644 --- a/packages/compiler-cli/ngcc/test/host/esm5_host_spec.ts +++ b/packages/compiler-cli/ngcc/test/host/esm5_host_spec.ts @@ -402,7 +402,7 @@ const IMPORTS_FILES = [ { name: '/a.js', contents: ` - export const a = 'a'; + export var a = 'a'; `, }, { @@ -422,7 +422,7 @@ const EXPORTS_FILES = [ { name: '/a.js', contents: ` - export const a = 'a'; + export var a = 'a'; `, }, {