From 46abb9c712a5a9069e244a4b9425d401f056c6b4 Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Tue, 20 Dec 2016 12:22:00 -0500 Subject: [PATCH] fix test failure caused by clearing cache --- test/generator/component-ref/Widget.html | 8 ++++++++ test/generator/component-ref/_config.js | 4 +--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/test/generator/component-ref/Widget.html b/test/generator/component-ref/Widget.html index 460a2a1c01..c5a462601a 100644 --- a/test/generator/component-ref/Widget.html +++ b/test/generator/component-ref/Widget.html @@ -1 +1,9 @@

i am a widget

+ + diff --git a/test/generator/component-ref/_config.js b/test/generator/component-ref/_config.js index 09ce6f0f88..25749f58d9 100644 --- a/test/generator/component-ref/_config.js +++ b/test/generator/component-ref/_config.js @@ -1,9 +1,7 @@ -import Widget from './Widget.html'; - export default { html: '

i am a widget

', test ( assert, component ) { const widget = component.refs.widget; - assert.ok( widget instanceof Widget ); + assert.ok( widget.isWidget ); } };