Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / components / __mocks__ / tabbable.js
blobb7a2f31d537150c908046b9f2fd6972b6f489274
1 const lib = jest.requireActual('tabbable');
3 const tabbable = {
4 ...lib,
5 tabbable: (node, options) => lib.tabbable(node, { ...options, displayCheck: 'none' }),
6 focusable: (node, options) => lib.focusable(node, { ...options, displayCheck: 'none' }),
7 isFocusable: (node, options) => lib.isFocusable(node, { ...options, displayCheck: 'none' }),
8 isTabbable: (node, options) => lib.isTabbable(node, { ...options, displayCheck: 'none' }),
9 };
11 module.exports = tabbable;