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

16 lines
259 B

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