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/packages/svelte/tests/runtime-legacy/samples/ondestroy-prop-access-3/_config.js

12 lines
211 B

import { test } from '../../test';
import { flushSync } from 'svelte';
export default test({
async test({ target }) {
const [btn1] = target.querySelectorAll('button');
btn1.click();
flushSync();
}
});