{"action":"created","issue":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1476","labels_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1476/labels{/name}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1476/comments","events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1476/events","html_url":"https://github.com/react-bootstrap/react-bootstrap/issues/1476","id":115190493,"number":1476,"title":"ButtonGroup.js: Invalid argument must be an array","user":{"login":"binarykitchen","id":177641,"avatar_url":"https://avatars.githubusercontent.com/u/177641?v=3","gravatar_id":"","url":"https://api.github.com/users/binarykitchen","html_url":"https://github.com/binarykitchen","followers_url":"https://api.github.com/users/binarykitchen/followers","following_url":"https://api.github.com/users/binarykitchen/following{/other_user}","gists_url":"https://api.github.com/users/binarykitchen/gists{/gist_id}","starred_url":"https://api.github.com/users/binarykitchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarykitchen/subscriptions","organizations_url":"https://api.github.com/users/binarykitchen/orgs","repos_url":"https://api.github.com/users/binarykitchen/repos","events_url":"https://api.github.com/users/binarykitchen/events{/privacy}","received_events_url":"https://api.github.com/users/binarykitchen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T01:39:59Z","updated_at":"2015-11-05T04:00:46Z","closed_at":"2015-11-05T04:00:46Z","body":"When running jest tests, I get plenty of those errors\r\n\r\n```\r\nError: /home/michael-heuberger/Development/something/src/frontend/components/__jest__/Tabs.cjsx: /home/michael-heuberger/Development/something/src/frontend/components/Tabs.cjsx: /home/michael-heuberger/Development/something/node_modules/react-bootstrap/lib/index.js: /home/michael-heuberger/Development/something/node_modules/react-bootstrap/lib/ButtonGroup.js: Invalid argument must be an array\r\n    at Object.all [as default] (/home/michael-heuberger/Development/something/node_modules/react-bootstrap/node_modules/react-overlays/node_modules/react-prop-types/lib/all.js:12:11)\r\n    at Object.<anonymous> (/home/michael-heuberger/Development/something/node_modules/react-bootstrap/lib/ButtonGroup.js:37:45)\r\n    at Object.runContentWithLocalBindings (/home/michael-heuberger/Development/something/node_modules/jest-cli/src/lib/utils.js:394:17)\r\n    at Loader._execModule (/home/michael-heuberger/Development/something/node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:234:11)\r\n    at Loader.requireModule (/home/michael-heuberger/Development/something/node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:845:14)\r\n    at Loader.requireModuleOrMock (/home/michael-heuberger/Development/something/node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:875:19)\r\n    at Object.<anonymous> (/home/michael-heuberger/Development/something/node_modules/react-bootstrap/lib/index.js:75:21)\r\n    ...\r\n```\r\n\r\nUsing the latest versions of all involved packages here. Any ideas what the issue is with the ButtonGroup.js?"},"comment":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/comments/153949334","html_url":"https://github.com/react-bootstrap/react-bootstrap/issues/1476#issuecomment-153949334","issue_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1476","id":153949334,"user":{"login":"taion","id":3112159,"avatar_url":"https://avatars.githubusercontent.com/u/3112159?v=3","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T04:00:46Z","updated_at":"2015-11-05T04:00:46Z","body":"There's really nothing here for us to go off of, since `ButtonGroup` works just fine on the components page, in our tests, and actually in my own uses of it as well.\r\n\r\nI'd be happy to re-open this if you can provide us with something actionable, but you're most likely accidentally mocking something you shouldn't be with Jest."}}