{"action":"opened","issue":{"url":"https://api.github.com/repos/bendrucker/angular-stripe/issues/23","labels_url":"https://api.github.com/repos/bendrucker/angular-stripe/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/bendrucker/angular-stripe/issues/23/comments","events_url":"https://api.github.com/repos/bendrucker/angular-stripe/issues/23/events","html_url":"https://github.com/bendrucker/angular-stripe/issues/23","id":89239205,"number":23,"title":"karma tests failing since Stripe.js cannot be included","user":{"login":"valdrinkoshi","id":6173664,"avatar_url":"https://avatars.githubusercontent.com/u/6173664?v=3","gravatar_id":"","url":"https://api.github.com/users/valdrinkoshi","html_url":"https://github.com/valdrinkoshi","followers_url":"https://api.github.com/users/valdrinkoshi/followers","following_url":"https://api.github.com/users/valdrinkoshi/following{/other_user}","gists_url":"https://api.github.com/users/valdrinkoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/valdrinkoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valdrinkoshi/subscriptions","organizations_url":"https://api.github.com/users/valdrinkoshi/orgs","repos_url":"https://api.github.com/users/valdrinkoshi/repos","events_url":"https://api.github.com/users/valdrinkoshi/events{/privacy}","received_events_url":"https://api.github.com/users/valdrinkoshi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-18T09:04:03Z","updated_at":"2015-06-18T09:04:03Z","closed_at":null,"body":"Stripe.js requires to load the JS from their server. \r\nIf Stripe.js is not loaded, angular-stripe will trigger the error \r\n```bash\r\nError: [$injector:modulerr] Failed to instantiate module angular-stripe due to:\r\nError: Stripe must be available as window.Stripe\r\n```\r\n\r\nHow would you advice to perform unit tests using angular-stripe?"}}