From 74fa12a3e191363bf44d384c9c97862bff350f56 Mon Sep 17 00:00:00 2001 From: Jacob Wright Date: Mon, 26 Mar 2018 09:45:57 -0600 Subject: [PATCH] Make tests work when running all of them together. They were only passing when running just the runtime tests, but failing with `` when running all the tests. --- test/runtime/samples/action-this/_config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/runtime/samples/action-this/_config.js b/test/runtime/samples/action-this/_config.js index 69525389be..df204a7a61 100644 --- a/test/runtime/samples/action-this/_config.js +++ b/test/runtime/samples/action-this/_config.js @@ -1,10 +1,9 @@ export default { - html: ``, - test ( assert, component, target, window ) { const button = target.querySelector( 'button' ); const click = new window.MouseEvent( 'click' ); + assert.htmlEqual( target.innerHTML, `` ); button.dispatchEvent( click ); assert.htmlEqual( target.innerHTML, `` ); }