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