Skip to content

Commit

Permalink
add failing test for sveltejs#2347
Browse files Browse the repository at this point in the history
  • Loading branch information
jches committed Apr 2, 2019
1 parent e3c0887 commit 1140fdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/runtime/samples/prop-exports/_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export default {
v2=4
vi1=4
$vs1=1
vl0=hello
vl1=test
$s3=29
loop...
Expand Down
5 changes: 5 additions & 0 deletions test/runtime/samples/prop-exports/main.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
let vs1 = v1
export { vs1 as a4 }
// literal initializer
let vl0 = 'hello'
export { vl0 }
// aliased with literal initializer
let vl1 = 'test'
export { vl1 as a5 }
Expand All @@ -41,6 +45,7 @@ $v1={$v1}
v2={v2}
vi1={vi1}
$vs1={$vs1}
vl0={vl0}
vl1={vl1}
$s3={$s3}
{k1}{k2}

0 comments on commit 1140fdf

Please sign in to comment.