Preparing for adding unused warning to eslint config (#5498)

pull/5546/head
Andreas Ehrencrona 4 years ago committed by GitHub
parent 24b8e9e2d6
commit b865494def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,6 @@
export default {
async test({ assert, target, window }) {
const [_, btn] = target.querySelectorAll('button');
const [, btn] = target.querySelectorAll('button');
const clickEvent = new window.MouseEvent('click');
await btn.dispatchEvent(clickEvent);

Loading…
Cancel
Save