mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
failing test for #2015
This commit is contained in:
parent
70ddabde7f
commit
55295a0e33
@ -0,0 +1,9 @@
|
||||
export default {
|
||||
html: `
|
||||
<p>42</p>
|
||||
`,
|
||||
|
||||
async test({ assert, component }) {
|
||||
assert.equal(component.initial_foo, 42);
|
||||
}
|
||||
};
|
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
import { writable } from 'svelte/store';
|
||||
let foo = writable(42);
|
||||
export let initial_foo = $foo;
|
||||
</script>
|
||||
|
||||
<p>{initial_foo}</p>
|
Loading…
Reference in New Issue
Block a user