@testing-library/user-event
Version:
Fire events the same way the user does
17 lines (13 loc) • 422 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
const FOCUSABLE_SELECTOR = [
'input:not([type=hidden]):not([disabled])',
'button:not([disabled])',
'select:not([disabled])',
'textarea:not([disabled])',
'[contenteditable=""]',
'[contenteditable="true"]',
'a[href]',
'[tabindex]:not([disabled])',
].join(', ');
exports.FOCUSABLE_SELECTOR = FOCUSABLE_SELECTOR;