moonjs: Fix test (#29100)

This commit is contained in:
Andy
2018-09-21 12:08:05 -07:00
committed by GitHub
parent c219f5d62a
commit 39c439d76d

View File

@@ -96,13 +96,7 @@ Moon.config.keycodes({
// 'data' needs to be a function when creating components.
// $ExpectError
Moon.component('broken1', {
el: testHTMLElement,
data: {
foo: 100,
bar: 200,
},
});
Moon.component('broken1', { el: testHTMLElement, data: { foo: 100, bar: 200 } });
// Misspelled prop
Moon.component('broken2', {