{"action":"created","issue":{"url":"https://api.github.com/repos/canonical-ols/javan-rhino/issues/25","repository_url":"https://api.github.com/repos/canonical-ols/javan-rhino","labels_url":"https://api.github.com/repos/canonical-ols/javan-rhino/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/canonical-ols/javan-rhino/issues/25/comments","events_url":"https://api.github.com/repos/canonical-ols/javan-rhino/issues/25/events","html_url":"https://github.com/canonical-ols/javan-rhino/issues/25","id":173425610,"number":25,"title":"CSS Modules don't work in tests","user":{"login":"bartaz","id":83575,"avatar_url":"https://avatars.githubusercontent.com/u/83575?v=3","gravatar_id":"","url":"https://api.github.com/users/bartaz","html_url":"https://github.com/bartaz","followers_url":"https://api.github.com/users/bartaz/followers","following_url":"https://api.github.com/users/bartaz/following{/other_user}","gists_url":"https://api.github.com/users/bartaz/gists{/gist_id}","starred_url":"https://api.github.com/users/bartaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartaz/subscriptions","organizations_url":"https://api.github.com/users/bartaz/orgs","repos_url":"https://api.github.com/users/bartaz/repos","events_url":"https://api.github.com/users/bartaz/events{/privacy}","received_events_url":"https://api.github.com/users/bartaz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/canonical-ols/javan-rhino/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-26T10:51:48Z","updated_at":"2016-08-29T08:37:27Z","closed_at":null,"body":"Found it while working on #24 \r\n\r\nImporting CSS module in JS causes tests (`npm test`) to fail:\r\n\r\n```\r\nSyntaxError: /Users/bartaz/Canonical/javan-rhino/src/components/navlink.css: Unexpected token (1:0)\r\n> 1 | .link {\r\n    | ^\r\n  2 |   color: $ubuntu-orange;\r\n  3 |   display: inline-block;\r\n  4 |   padding: 5px;\r\n```\r\n\r\nIt seems we need to provide CSS modules loader properly to test environment."},"comment":{"url":"https://api.github.com/repos/canonical-ols/javan-rhino/issues/comments/243065333","html_url":"https://github.com/canonical-ols/javan-rhino/issues/25#issuecomment-243065333","issue_url":"https://api.github.com/repos/canonical-ols/javan-rhino/issues/25","id":243065333,"user":{"login":"bartaz","id":83575,"avatar_url":"https://avatars.githubusercontent.com/u/83575?v=3","gravatar_id":"","url":"https://api.github.com/users/bartaz","html_url":"https://github.com/bartaz","followers_url":"https://api.github.com/users/bartaz/followers","following_url":"https://api.github.com/users/bartaz/following{/other_user}","gists_url":"https://api.github.com/users/bartaz/gists{/gist_id}","starred_url":"https://api.github.com/users/bartaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartaz/subscriptions","organizations_url":"https://api.github.com/users/bartaz/orgs","repos_url":"https://api.github.com/users/bartaz/repos","events_url":"https://api.github.com/users/bartaz/events{/privacy}","received_events_url":"https://api.github.com/users/bartaz/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T08:37:27Z","updated_at":"2016-08-29T08:37:27Z","body":"Fixed by #24"}}
{"actor":{"display_login":"bartaz"}}