{"action":"created","issue":{"url":"https://api.github.com/repos/getsaf/shallow-render/issues/36","repository_url":"https://api.github.com/repos/getsaf/shallow-render","labels_url":"https://api.github.com/repos/getsaf/shallow-render/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/getsaf/shallow-render/issues/36/comments","events_url":"https://api.github.com/repos/getsaf/shallow-render/issues/36/events","html_url":"https://github.com/getsaf/shallow-render/issues/36","id":333295567,"node_id":"MDU6SXNzdWUzMzMyOTU1Njc=","number":36,"title":"Ngxs/store @select decorator compatibility ","user":{"login":"juracy","id":48622,"node_id":"MDQ6VXNlcjQ4NjIy","avatar_url":"https://avatars2.githubusercontent.com/u/48622?v=4","gravatar_id":"","url":"https://api.github.com/users/juracy","html_url":"https://github.com/juracy","followers_url":"https://api.github.com/users/juracy/followers","following_url":"https://api.github.com/users/juracy/following{/other_user}","gists_url":"https://api.github.com/users/juracy/gists{/gist_id}","starred_url":"https://api.github.com/users/juracy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juracy/subscriptions","organizations_url":"https://api.github.com/users/juracy/orgs","repos_url":"https://api.github.com/users/juracy/repos","events_url":"https://api.github.com/users/juracy/events{/privacy}","received_events_url":"https://api.github.com/users/juracy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-06-18T14:32:11Z","updated_at":"2018-06-19T13:19:05Z","closed_at":"2018-06-19T13:19:05Z","author_association":"NONE","body":"I couldn't test components using @select decorator of ngxs/store, I'm without new ideas how to test it!\r\n\r\nif I try to provide store I've got this error:\r\n\r\n```  ● LoginComponent Shallow Render › should log in\r\n\r\n    SelectFactory not connected to store!\r\n\r\n      at LoginComponent.createSelect (node_modules/@ngxs/store/bundles/ng:/@ngxs/store/packages/store/src/select.ts:45:15)\r\n      at LoginComponent.get [as conf] (node_modules/@ngxs/store/bundles/ng:/@ngxs/store/packages/store/src/select.ts:73:1)\r\n      at Object.View_LoginComponent_0._co [as updateDirectives] (ng:/DynamicTestModule/LoginComponent.ngfactory.js:237:31)\r\n      at Object.debugUpdateDirectives [as updateDirectives] (../../../../../execroot/angular/packages/core/src/view/services.ts:384:19)\r\n      at checkAndUpdateView (../../../../../execroot/angular/packages/core/src/view/view.ts:359:12)\r\n```\r\n\r\nIf I try to provide store and don't mock it, I've got this one:\r\n\r\n``` FAIL  src/app/auth/login.component.spec.ts\r\n  ● LoginComponent Shallow Render › should log in\r\n\r\n    StaticInjectorError(DynamicTestModule)[Store -> StateStream]:\r\n      StaticInjectorError(Platform: core)[Store -> StateStream]:\r\n        NullInjectorError: No provider for StateStream!```\r\n"},"comment":{"url":"https://api.github.com/repos/getsaf/shallow-render/issues/comments/398395887","html_url":"https://github.com/getsaf/shallow-render/issues/36#issuecomment-398395887","issue_url":"https://api.github.com/repos/getsaf/shallow-render/issues/36","id":398395887,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODM5NTg4Nw==","user":{"login":"getsaf","id":10538908,"node_id":"MDQ6VXNlcjEwNTM4OTA4","avatar_url":"https://avatars1.githubusercontent.com/u/10538908?v=4","gravatar_id":"","url":"https://api.github.com/users/getsaf","html_url":"https://github.com/getsaf","followers_url":"https://api.github.com/users/getsaf/followers","following_url":"https://api.github.com/users/getsaf/following{/other_user}","gists_url":"https://api.github.com/users/getsaf/gists{/gist_id}","starred_url":"https://api.github.com/users/getsaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getsaf/subscriptions","organizations_url":"https://api.github.com/users/getsaf/orgs","repos_url":"https://api.github.com/users/getsaf/repos","events_url":"https://api.github.com/users/getsaf/events{/privacy}","received_events_url":"https://api.github.com/users/getsaf/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T13:19:05Z","updated_at":"2018-06-19T13:19:05Z","author_association":"OWNER","body":"Glad it worked out! I'm going to close this issue."}}
{"actor":{"display_login":"getsaf"}}