{"action":"opened","issue":{"url":"https://api.github.com/repos/devlucky/Kakapo.js/issues/15","repository_url":"https://api.github.com/repos/devlucky/Kakapo.js","labels_url":"https://api.github.com/repos/devlucky/Kakapo.js/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/devlucky/Kakapo.js/issues/15/comments","events_url":"https://api.github.com/repos/devlucky/Kakapo.js/issues/15/events","html_url":"https://github.com/devlucky/Kakapo.js/issues/15","id":147144975,"number":15,"title":"Support other environments in interceptors","user":{"login":"oskarcieslik","id":7048281,"avatar_url":"https://avatars.githubusercontent.com/u/7048281?v=3","gravatar_id":"","url":"https://api.github.com/users/oskarcieslik","html_url":"https://github.com/oskarcieslik","followers_url":"https://api.github.com/users/oskarcieslik/followers","following_url":"https://api.github.com/users/oskarcieslik/following{/other_user}","gists_url":"https://api.github.com/users/oskarcieslik/gists{/gist_id}","starred_url":"https://api.github.com/users/oskarcieslik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskarcieslik/subscriptions","organizations_url":"https://api.github.com/users/oskarcieslik/orgs","repos_url":"https://api.github.com/users/oskarcieslik/repos","events_url":"https://api.github.com/users/oskarcieslik/events{/privacy}","received_events_url":"https://api.github.com/users/oskarcieslik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-09T17:00:47Z","updated_at":"2016-04-09T17:00:47Z","closed_at":null,"body":"Right our interceptors only replace `window.fetch` / `window.XMLHttpRequest`. I think we need to check if framework is used inside of browser, service worker, etc and then assign fake service to `window` / `global` / `self`"}}