From 39c439d76db22257080311b6bac89625aba6668f Mon Sep 17 00:00:00 2001 From: Andy Date: Fri, 21 Sep 2018 12:08:05 -0700 Subject: [PATCH] moonjs: Fix test (#29100) --- types/moonjs/moonjs-tests.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/types/moonjs/moonjs-tests.ts b/types/moonjs/moonjs-tests.ts index 34d1d8d359..1fdfbf115c 100644 --- a/types/moonjs/moonjs-tests.ts +++ b/types/moonjs/moonjs-tests.ts @@ -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', {