Skip to content

Commit 1dad8f1

Browse files
committed
add test for #891
1 parent 218dcac commit 1dad8f1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const data = { foo: 0 };
2+
3+
export default {
4+
data,
5+
6+
html: '0',
7+
8+
test(assert, component, target) {
9+
data.foo = 42;
10+
component.set(data);
11+
12+
assert.htmlEqual(target.innerHTML, '42');
13+
}
14+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{foo}}

0 commit comments

Comments
 (0)