Skip to content

Commit 46abb9c

Browse files
committed
fix test failure caused by clearing cache
1 parent ccba20b commit 46abb9c

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
<p>i am a widget</p>
2+
3+
<script>
4+
export default {
5+
onrender () {
6+
this.isWidget = true;
7+
}
8+
};
9+
</script>
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import Widget from './Widget.html';
2-
31
export default {
42
html: '<div><p>i am a widget</p></div>',
53
test ( assert, component ) {
64
const widget = component.refs.widget;
7-
assert.ok( widget instanceof Widget );
5+
assert.ok( widget.isWidget );
86
}
97
};

0 commit comments

Comments
 (0)