{"action":"created","issue":{"url":"https://api.github.com/repos/wallabyjs/public/issues/1908","repository_url":"https://api.github.com/repos/wallabyjs/public","labels_url":"https://api.github.com/repos/wallabyjs/public/issues/1908/labels{/name}","comments_url":"https://api.github.com/repos/wallabyjs/public/issues/1908/comments","events_url":"https://api.github.com/repos/wallabyjs/public/issues/1908/events","html_url":"https://github.com/wallabyjs/public/issues/1908","id":378716106,"node_id":"MDU6SXNzdWUzNzg3MTYxMDY=","number":1908,"title":"Babel works fine for standalone Jest, not within WallabyJS","user":{"login":"kasvtv","id":1628729,"node_id":"MDQ6VXNlcjE2Mjg3Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/1628729?v=4","gravatar_id":"","url":"https://api.github.com/users/kasvtv","html_url":"https://github.com/kasvtv","followers_url":"https://api.github.com/users/kasvtv/followers","following_url":"https://api.github.com/users/kasvtv/following{/other_user}","gists_url":"https://api.github.com/users/kasvtv/gists{/gist_id}","starred_url":"https://api.github.com/users/kasvtv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasvtv/subscriptions","organizations_url":"https://api.github.com/users/kasvtv/orgs","repos_url":"https://api.github.com/users/kasvtv/repos","events_url":"https://api.github.com/users/kasvtv/events{/privacy}","received_events_url":"https://api.github.com/users/kasvtv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-08T12:46:07Z","updated_at":"2018-11-08T22:33:53Z","closed_at":"2018-11-08T22:33:53Z","author_association":"NONE","body":"Within Jest, my babel proposal plugins work fine, but when running through wallabyJS, it seems not to recognize my plugins.\r\n\r\n```\r\n​​[Error] Failed to set up project file system: Error: Failed to parse src/entry/entry.test.js, SyntaxError: Unexpected token (5:15)​​\r\n​​[Error]     at _combinedTickCallback (internal/process/next_tick.js:131:7)​​\r\n​​[Error]     at process._tickCallback (internal/process/next_tick.js:180:9)​​\r\n\r\n```\r\nMade a simple example repo for it using the optional chaining syntax (containing all my versions as well):\r\nhttps://github.com/kasvtv/wallaby_issue\r\n\r\nUsing Ubuntu."},"comment":{"url":"https://api.github.com/repos/wallabyjs/public/issues/comments/437180780","html_url":"https://github.com/wallabyjs/public/issues/1908#issuecomment-437180780","issue_url":"https://api.github.com/repos/wallabyjs/public/issues/1908","id":437180780,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzE4MDc4MA==","user":{"login":"smcenlly","id":2074089,"node_id":"MDQ6VXNlcjIwNzQwODk=","avatar_url":"https://avatars1.githubusercontent.com/u/2074089?v=4","gravatar_id":"","url":"https://api.github.com/users/smcenlly","html_url":"https://github.com/smcenlly","followers_url":"https://api.github.com/users/smcenlly/followers","following_url":"https://api.github.com/users/smcenlly/following{/other_user}","gists_url":"https://api.github.com/users/smcenlly/gists{/gist_id}","starred_url":"https://api.github.com/users/smcenlly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smcenlly/subscriptions","organizations_url":"https://api.github.com/users/smcenlly/orgs","repos_url":"https://api.github.com/users/smcenlly/repos","events_url":"https://api.github.com/users/smcenlly/events{/privacy}","received_events_url":"https://api.github.com/users/smcenlly/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T22:33:53Z","updated_at":"2018-11-08T22:33:53Z","author_association":"MEMBER","body":"Thanks for providing the repo! The problem was your compiler file pattern. It was only including `.jsx` files but needs to also include `.js` files. I've created a [pull request](https://github.com/kasvtv/wallaby_issue/pull/1) that fixes this for you.\r\n\r\nIn your wallaby configuration, I've changed\r\n\r\n```diff\r\n...\r\n\tcompilers: {\r\n-\t\t'**/*.jsx?': wallabyJS.compilers.babel(require('./.babelrc.js'))\r\n+\t\t'**/*.js?(x)': wallabyJS.compilers.babel(require('./.babelrc.js'))\r\n\t},\r\n...\r\n```"}}
{"actor":{"display_login":"smcenlly"}}