{"action":"created","issue":{"url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/461","repository_url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers","labels_url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/461/comments","events_url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/461/events","html_url":"https://github.com/dmtrKovalenko/material-ui-pickers/issues/461","id":330900949,"node_id":"MDU6SXNzdWUzMzA5MDA5NDk=","number":461,"title":"Date library specific test scripts don't set process.env.UTILS","user":{"login":"mcMickJuice","id":1879443,"node_id":"MDQ6VXNlcjE4Nzk0NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/1879443?v=4","gravatar_id":"","url":"https://api.github.com/users/mcMickJuice","html_url":"https://github.com/mcMickJuice","followers_url":"https://api.github.com/users/mcMickJuice/followers","following_url":"https://api.github.com/users/mcMickJuice/following{/other_user}","gists_url":"https://api.github.com/users/mcMickJuice/gists{/gist_id}","starred_url":"https://api.github.com/users/mcMickJuice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcMickJuice/subscriptions","organizations_url":"https://api.github.com/users/mcMickJuice/orgs","repos_url":"https://api.github.com/users/mcMickJuice/repos","events_url":"https://api.github.com/users/mcMickJuice/events{/privacy}","received_events_url":"https://api.github.com/users/mcMickJuice/received_events","type":"User","site_admin":false},"labels":[{"id":929703274,"node_id":"MDU6TGFiZWw5Mjk3MDMyNzQ=","url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/labels/needs%20work","name":"needs work","color":"d83c8d","default":false}],"state":"closed","locked":false,"assignee":{"login":"mcMickJuice","id":1879443,"node_id":"MDQ6VXNlcjE4Nzk0NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/1879443?v=4","gravatar_id":"","url":"https://api.github.com/users/mcMickJuice","html_url":"https://github.com/mcMickJuice","followers_url":"https://api.github.com/users/mcMickJuice/followers","following_url":"https://api.github.com/users/mcMickJuice/following{/other_user}","gists_url":"https://api.github.com/users/mcMickJuice/gists{/gist_id}","starred_url":"https://api.github.com/users/mcMickJuice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcMickJuice/subscriptions","organizations_url":"https://api.github.com/users/mcMickJuice/orgs","repos_url":"https://api.github.com/users/mcMickJuice/repos","events_url":"https://api.github.com/users/mcMickJuice/events{/privacy}","received_events_url":"https://api.github.com/users/mcMickJuice/received_events","type":"User","site_admin":false},"assignees":[{"login":"mcMickJuice","id":1879443,"node_id":"MDQ6VXNlcjE4Nzk0NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/1879443?v=4","gravatar_id":"","url":"https://api.github.com/users/mcMickJuice","html_url":"https://github.com/mcMickJuice","followers_url":"https://api.github.com/users/mcMickJuice/followers","following_url":"https://api.github.com/users/mcMickJuice/following{/other_user}","gists_url":"https://api.github.com/users/mcMickJuice/gists{/gist_id}","starred_url":"https://api.github.com/users/mcMickJuice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcMickJuice/subscriptions","organizations_url":"https://api.github.com/users/mcMickJuice/orgs","repos_url":"https://api.github.com/users/mcMickJuice/repos","events_url":"https://api.github.com/users/mcMickJuice/events{/privacy}","received_events_url":"https://api.github.com/users/mcMickJuice/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-06-09T16:32:32Z","updated_at":"2018-07-12T15:43:57Z","closed_at":"2018-07-12T15:43:53Z","author_association":"CONTRIBUTOR","body":"<!-- Thanks so much for your time taking to open an issue, your work is appreciated! ❤️ -->\r\n\r\n## ~Environment~ This is a tooling/repo related issue, not behavior of the library\r\n\r\n## Steps to reproduce\r\n1. Place a console.log or throw an error with value of `process.env.UTILS` in the `lib/__tests__/test-utils.js` file\r\n2. Notice that `undefined` is logged out and `DateFnUtils` is being returned in all testing cases (`test:moment`, `test:luxon`, `test:date-fns`)\r\n\r\n## Expected behavior\r\nRunning `npm run test` should run test suite for each date library that is supported.\r\n\r\n## Actual behavior\r\nsince `process.env.UTILS` is not being set, `DateFnsUtil` is the fallback library so tests are only run against this date library\r\n\r\n## Other Comments\r\nRemoving `&&` in each test:(datelibrary) script fixes this, however luxon tests are failing:\r\n\r\n```diff\r\n- \"test:moment\": \"cross-env UTILS=moment && npm run all-tests\",\r\n+ \"test:moment\": \"cross-env UTILS=moment npm run all-tests\",\r\n```"},"comment":{"url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/comments/404557583","html_url":"https://github.com/dmtrKovalenko/material-ui-pickers/issues/461#issuecomment-404557583","issue_url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/461","id":404557583,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDU1NzU4Mw==","user":{"login":"dmtrKovalenko","id":16926049,"node_id":"MDQ6VXNlcjE2OTI2MDQ5","avatar_url":"https://avatars0.githubusercontent.com/u/16926049?v=4","gravatar_id":"","url":"https://api.github.com/users/dmtrKovalenko","html_url":"https://github.com/dmtrKovalenko","followers_url":"https://api.github.com/users/dmtrKovalenko/followers","following_url":"https://api.github.com/users/dmtrKovalenko/following{/other_user}","gists_url":"https://api.github.com/users/dmtrKovalenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dmtrKovalenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmtrKovalenko/subscriptions","organizations_url":"https://api.github.com/users/dmtrKovalenko/orgs","repos_url":"https://api.github.com/users/dmtrKovalenko/repos","events_url":"https://api.github.com/users/dmtrKovalenko/events{/privacy}","received_events_url":"https://api.github.com/users/dmtrKovalenko/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T15:43:57Z","updated_at":"2018-07-12T15:43:57Z","author_association":"OWNER","body":"Fixed"}}
{"actor":{"display_login":"dmtrKovalenko"}}