failing test for

pull/1395/head
Rich Harris 7 years ago
parent 01cdffa46e
commit 9ac0c40d65

@ -0,0 +1,9 @@
import { Store } from '../../../../store.js';
export default {
store: new Store(),
html: `
<h1>Hello Brian!</h1>
`
};

@ -0,0 +1,10 @@
<h1>Hello {$name}!</h1>
<script>
export default {
oncreate() {
this.store.set({ user: { name: 'Brian' } });
this.store.compute('name', ['user'], user => user && user.name);
}
};
</script>
Loading…
Cancel
Save