diff --git a/test/runtime/samples/action-update-this/_config.js b/test/runtime/samples/action-update-this/_config.js index 5183a6679e..8d9f278dd8 100644 --- a/test/runtime/samples/action-update-this/_config.js +++ b/test/runtime/samples/action-update-this/_config.js @@ -1,15 +1,15 @@ export default { - props: { text: "first" }, + props: { text: 'first' }, test({ assert, target, component }) { - assert.htmlEqual(target.innerHTML, ""); - component.text = "second"; - assert.htmlEqual(target.innerHTML, ""); + assert.htmlEqual(target.innerHTML, ''); + component.text = 'second'; + assert.htmlEqual(target.innerHTML, ''); let last_text; - component.text = "third"; + component.text = 'third'; component.on_destroy = (text) => { last_text = text; }; component.$destroy(); - assert.equal(last_text, "third"); - }, + assert.equal(last_text, 'third'); + } };