You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/store-unreferenced/_config.js

14 lines
238 B

import { count } from './store.js';
export default {
html: '<p>count: 0</p>',
async test({ assert, component, target }) {
await component.increment();
assert.htmlEqual(target.innerHTML, '<p>count: 1</p>');
count.set(0);
}
};