failing test for #222

pull/306/head
Rich Harris 8 years ago
parent 1655249d7a
commit 7dff587a06

@ -0,0 +1,8 @@
export default {
html: `<span>got</span>`,
test ( assert, component ) {
assert.equal( component.get( 'foo' ), 'got' );
component.teardown();
}
};

@ -0,0 +1,3 @@
export default function get () {
return 'got';
}

@ -0,0 +1,13 @@
<span>{{foo}}</span>
<script>
import get from './get.js';
export default {
data () {
return {
foo: get()
};
}
};
</script>
Loading…
Cancel
Save