test(ivy): fix ESM5 test code to use `var` rather than `const` (#25445)
PR Close #25445
This commit is contained in:
parent
95c5b1a7f6
commit
e68490c5e4
|
@ -402,7 +402,7 @@ const IMPORTS_FILES = [
|
||||||
{
|
{
|
||||||
name: '/a.js',
|
name: '/a.js',
|
||||||
contents: `
|
contents: `
|
||||||
export const a = 'a';
|
export var a = 'a';
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -422,7 +422,7 @@ const EXPORTS_FILES = [
|
||||||
{
|
{
|
||||||
name: '/a.js',
|
name: '/a.js',
|
||||||
contents: `
|
contents: `
|
||||||
export const a = 'a';
|
export var a = 'a';
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue