Update packages/svelte/tests/runtime-browser/samples/browser-events-ending-with-capture/_config.js

pull/11790/head
Simon H 2 years ago committed by GitHub
parent 11a94826cb
commit cb6d1e9cb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5,8 +5,8 @@ export default test({
async test({ assert, window }) { async test({ assert, window }) {
const div = window.document.querySelector('div'); const div = window.document.querySelector('div');
div.dispatchEvent(new PointerEvent('gotpointercapture')); div?.dispatchEvent(new PointerEvent('gotpointercapture'));
div.dispatchEvent(new PointerEvent('lostpointercapture')); div?.dispatchEvent(new PointerEvent('lostpointercapture'));
await tick(); await tick();

Loading…
Cancel
Save