export default {
immutable: true,
html: `
Called 0 times.
`,
test(assert, component, target, window) {
component.on('state', ({ changed }) => {
if (changed.foo) {
component.set({ count: component.get().count + 1 });
}
});
assert.htmlEqual(target.innerHTML, `Called 0 times.
`);
component.set({ foo: component.get().foo });
assert.htmlEqual(target.innerHTML, `Called 0 times.
`);
}
};