import { Store } from '../../../../store.js';
const store = new Store({
name: 'world'
});
export default {
store,
html: `
Hello world!
`,
dev: true,
test(assert, component) {
const names = [];
component.observe('$name', name => {
names.push(name);
});
store.set({ name: 'everybody' });
assert.deepEqual(names, ['world', 'everybody']);
}
};