{"action":"created","issue":{"url":"https://api.github.com/repos/gajus/react-css-modules/issues/66","repository_url":"https://api.github.com/repos/gajus/react-css-modules","labels_url":"https://api.github.com/repos/gajus/react-css-modules/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/gajus/react-css-modules/issues/66/comments","events_url":"https://api.github.com/repos/gajus/react-css-modules/issues/66/events","html_url":"https://github.com/gajus/react-css-modules/issues/66","id":120984090,"number":66,"title":"ReferenceError: Can't find variable: Symbol","user":{"login":"jonnyreeves","id":200185,"avatar_url":"https://avatars.githubusercontent.com/u/200185?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnyreeves","html_url":"https://github.com/jonnyreeves","followers_url":"https://api.github.com/users/jonnyreeves/followers","following_url":"https://api.github.com/users/jonnyreeves/following{/other_user}","gists_url":"https://api.github.com/users/jonnyreeves/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnyreeves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnyreeves/subscriptions","organizations_url":"https://api.github.com/users/jonnyreeves/orgs","repos_url":"https://api.github.com/users/jonnyreeves/repos","events_url":"https://api.github.com/users/jonnyreeves/events{/privacy}","received_events_url":"https://api.github.com/users/jonnyreeves/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gajus/react-css-modules/labels/documentation","name":"documentation","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-08T11:00:56Z","updated_at":"2016-02-04T16:45:58Z","closed_at":null,"body":"Commit ff2bc9a has introduced a breaking change when running tests on [PhantomJS](http://phantomjs.org/):\r\n\r\n```\r\nReferenceError: Can't find variable: Symbol\r\n```\r\n\r\nThis error appears to have been introduced by the following code:\r\n\r\n```js\r\nconst ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\r\n```\r\n\r\nI was able to work around this issue by adding the babel-polyfill package in the test bundle.js generated by webpack:\r\n\r\n```\r\nnpm install babel-polyfill\r\nwebpack babel-polyfill **/*.spec.js --config webpack.config.js\r\n```"},"comment":{"url":"https://api.github.com/repos/gajus/react-css-modules/issues/comments/179939368","html_url":"https://github.com/gajus/react-css-modules/issues/66#issuecomment-179939368","issue_url":"https://api.github.com/repos/gajus/react-css-modules/issues/66","id":179939368,"user":{"login":"vyorkin","id":988849,"avatar_url":"https://avatars.githubusercontent.com/u/988849?v=3","gravatar_id":"","url":"https://api.github.com/users/vyorkin","html_url":"https://github.com/vyorkin","followers_url":"https://api.github.com/users/vyorkin/followers","following_url":"https://api.github.com/users/vyorkin/following{/other_user}","gists_url":"https://api.github.com/users/vyorkin/gists{/gist_id}","starred_url":"https://api.github.com/users/vyorkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vyorkin/subscriptions","organizations_url":"https://api.github.com/users/vyorkin/orgs","repos_url":"https://api.github.com/users/vyorkin/repos","events_url":"https://api.github.com/users/vyorkin/events{/privacy}","received_events_url":"https://api.github.com/users/vyorkin/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T16:45:58Z","updated_at":"2016-02-04T16:45:58Z","body":"@export-mike yeah, the same, can confirm this works for me either"}}