react-select-plus
Version:
A fork of react-select with support for option groups
20 lines (14 loc) • 326 B
JavaScript
module.exports = {
name: 'fix-nodelist-for-jsdom-6',
installInto: function (expect) {
expect.addType({
name: 'NodeList',
base: 'array-like',
identify: value => {
return typeof window !== 'undefined' &&
typeof window.NodeList === 'function' &&
value instanceof window.NodeList;
}
});
}
};