import { store } from './store.js'; export default { html: '

0

', before_test() { store.reset(); }, async test({ assert, target }) { store.set(42); await Promise.resolve(); assert.htmlEqual(target.innerHTML, '

42

'); assert.equal(store.numberOfTimesSubscribeCalled(), 1); }, test_ssr({ assert }) { assert.equal(store.numberOfTimesSubscribeCalled(), 1); } };