{"action":"created","issue":{"url":"https://api.github.com/repos/este/este/issues/331","labels_url":"https://api.github.com/repos/este/este/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/este/este/issues/331/comments","events_url":"https://api.github.com/repos/este/este/issues/331/events","html_url":"https://github.com/este/este/issues/331","id":93523566,"number":331,"title":"Put tests into folders in src/client | server","user":{"login":"mirimCZ","id":5903016,"avatar_url":"https://avatars.githubusercontent.com/u/5903016?v=3","gravatar_id":"","url":"https://api.github.com/users/mirimCZ","html_url":"https://github.com/mirimCZ","followers_url":"https://api.github.com/users/mirimCZ/followers","following_url":"https://api.github.com/users/mirimCZ/following{/other_user}","gists_url":"https://api.github.com/users/mirimCZ/gists{/gist_id}","starred_url":"https://api.github.com/users/mirimCZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirimCZ/subscriptions","organizations_url":"https://api.github.com/users/mirimCZ/orgs","repos_url":"https://api.github.com/users/mirimCZ/repos","events_url":"https://api.github.com/users/mirimCZ/events{/privacy}","received_events_url":"https://api.github.com/users/mirimCZ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-07T12:50:27Z","updated_at":"2015-08-01T22:31:55Z","closed_at":null,"body":"We should couple context (\"users\" / \"todos\") not function (\"showing\" / \"testing\" / \"controlling\" / \"storing\"). Considering that remove /src/test and create tests folders in matching folders in client / server directory.\r\n\r\nEg.: https://github.com/este/este/blob/master/src/test/client/todos/actions.spec.js\r\n\r\nShould be in\r\nhttps://github.com/este/este/tree/feature/translations/src/client/todos ```/__test__/actions.spec.js```\r\n\r\nExact name of ```__test__``` dir is up to discuss. This is the way, that facebook name it (check https://github.com/graphql/graphql-js)"},"comment":{"url":"https://api.github.com/repos/este/este/issues/comments/126958622","html_url":"https://github.com/este/este/issues/331#issuecomment-126958622","issue_url":"https://api.github.com/repos/este/este/issues/331","id":126958622,"user":{"login":"grabbou","id":2464966,"avatar_url":"https://avatars.githubusercontent.com/u/2464966?v=3","gravatar_id":"","url":"https://api.github.com/users/grabbou","html_url":"https://github.com/grabbou","followers_url":"https://api.github.com/users/grabbou/followers","following_url":"https://api.github.com/users/grabbou/following{/other_user}","gists_url":"https://api.github.com/users/grabbou/gists{/gist_id}","starred_url":"https://api.github.com/users/grabbou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grabbou/subscriptions","organizations_url":"https://api.github.com/users/grabbou/orgs","repos_url":"https://api.github.com/users/grabbou/repos","events_url":"https://api.github.com/users/grabbou/events{/privacy}","received_events_url":"https://api.github.com/users/grabbou/received_events","type":"User","site_admin":false},"created_at":"2015-08-01T22:31:55Z","updated_at":"2015-08-01T22:31:55Z","body":"I am using the above convention in my native app and it works well. (maybe because I am using `jest`, but all in all, I like to keep my tests a part of the code)."}}