failing test for #2015

pull/2099/head
Richard Harris 6 years ago
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…
Cancel
Save