mirror of https://github.com/sveltejs/svelte
boy do i feel stupid. fixes #1022
parent
8472142159
commit
2120a81958
@ -0,0 +1,16 @@
|
|||||||
|
export default {
|
||||||
|
solo: true,
|
||||||
|
|
||||||
|
data: {
|
||||||
|
foo: 'hello'
|
||||||
|
},
|
||||||
|
|
||||||
|
html: `<option value='hello'>hello</option>`,
|
||||||
|
|
||||||
|
test(assert, component, target) {
|
||||||
|
component.set({ foo: 'goodbye' });
|
||||||
|
assert.htmlEqual(target.innerHTML, `
|
||||||
|
<option value='goodbye'>goodbye</option>
|
||||||
|
`);
|
||||||
|
}
|
||||||
|
};
|
@ -0,0 +1 @@
|
|||||||
|
<option value='{{foo}}'>{{foo}}</option>
|
Loading…
Reference in new issue