export default { immutable: true, html: `

Called 0 times.

`, test(assert, component, target, window) { var nested = component.refs.nested; nested.on('state', ({ changed }) => { if (changed.foo) { nested.set({ count: nested.get().count + 1 }); } }); assert.htmlEqual(target.innerHTML, `

Called 0 times.

`); nested.set({ foo: nested.get().foo }); assert.htmlEqual(target.innerHTML, `

Called 1 times.

`); } };