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-auto-subscribe-nullish/_config.js

17 lines
248 B

import { writable } from 'svelte/store';
export default {
html: `
<p>undefined</p>
`,
async test({ assert, component, target }) {
component.store = writable('foo');
assert.htmlEqual(
target.innerHTML,
`
<p>foo</p>
`
);
}
};