{"action":"created","issue":{"url":"https://api.github.com/repos/flauc/angular2-notifications/issues/18","repository_url":"https://api.github.com/repos/flauc/angular2-notifications","labels_url":"https://api.github.com/repos/flauc/angular2-notifications/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/flauc/angular2-notifications/issues/18/comments","events_url":"https://api.github.com/repos/flauc/angular2-notifications/issues/18/events","html_url":"https://github.com/flauc/angular2-notifications/issues/18","id":148000288,"number":18,"title":"Test angular2 Notifications","user":{"login":"GuillaumeUnice","id":5946720,"avatar_url":"https://avatars.githubusercontent.com/u/5946720?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeUnice","html_url":"https://github.com/GuillaumeUnice","followers_url":"https://api.github.com/users/GuillaumeUnice/followers","following_url":"https://api.github.com/users/GuillaumeUnice/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeUnice/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeUnice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeUnice/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeUnice/orgs","repos_url":"https://api.github.com/users/GuillaumeUnice/repos","events_url":"https://api.github.com/users/GuillaumeUnice/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeUnice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-13T09:24:34Z","updated_at":"2016-04-14T08:25:21Z","closed_at":null,"body":"Hi every,\r\nI just a request I want to test my Angular2 App with Karma. But when I tried to include angular2 notification into Karma it's return.\r\n`exports is not defined`\r\n\r\nBecause  I think module and file component.js don't support CommonJS, require and export.\r\n\r\nYou have schedule to testing angular2 Notification or not at all?\r\n\r\nThanks for answer"},"comment":{"url":"https://api.github.com/repos/flauc/angular2-notifications/issues/comments/209825678","html_url":"https://github.com/flauc/angular2-notifications/issues/18#issuecomment-209825678","issue_url":"https://api.github.com/repos/flauc/angular2-notifications/issues/18","id":209825678,"user":{"login":"GuillaumeUnice","id":5946720,"avatar_url":"https://avatars.githubusercontent.com/u/5946720?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeUnice","html_url":"https://github.com/GuillaumeUnice","followers_url":"https://api.github.com/users/GuillaumeUnice/followers","following_url":"https://api.github.com/users/GuillaumeUnice/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeUnice/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeUnice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeUnice/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeUnice/orgs","repos_url":"https://api.github.com/users/GuillaumeUnice/repos","events_url":"https://api.github.com/users/GuillaumeUnice/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeUnice/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T08:25:21Z","updated_at":"2016-04-14T08:25:21Z","body":"Ok, I just want to import in my test notification.\r\n\r\nAnd I don't know if I can import directly the components.js or if I must use a preprocessor?\r\n\r\nThis my karma config : \r\n[https://codeshare.io/wpOXk](url)\r\n\r\nAnd the line in files array: \r\n`{ pattern: 'node_modules/angular2-notifications/components.js', included: true, watched: true },`\r\nreturn `exports is not defined` in my terminal.\r\n\r\nMaybe a preprocessor commonJs for testing?\r\n"}}