{"action":"opened","issue":{"url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/244","labels_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/244/comments","events_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/244/events","html_url":"https://github.com/unexpectedjs/unexpected/issues/244","id":124125000,"number":244,"title":"TestFrameworkPatch is only applied in a limited number of situations","user":{"login":"sunesimonsen","id":90802,"avatar_url":"https://avatars.githubusercontent.com/u/90802?v=3","gravatar_id":"","url":"https://api.github.com/users/sunesimonsen","html_url":"https://github.com/sunesimonsen","followers_url":"https://api.github.com/users/sunesimonsen/followers","following_url":"https://api.github.com/users/sunesimonsen/following{/other_user}","gists_url":"https://api.github.com/users/sunesimonsen/gists{/gist_id}","starred_url":"https://api.github.com/users/sunesimonsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunesimonsen/subscriptions","organizations_url":"https://api.github.com/users/sunesimonsen/orgs","repos_url":"https://api.github.com/users/sunesimonsen/repos","events_url":"https://api.github.com/users/sunesimonsen/events{/privacy}","received_events_url":"https://api.github.com/users/sunesimonsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-28T20:55:23Z","updated_at":"2015-12-28T20:55:23Z","closed_at":null,"body":"Right now the TestFrameworkPatch is only applied in node environments for Mocha and Jasmine, and only when the unexpected instance is required inside the test suite.\r\n\r\nI'm afraid that this could create a false sense of security. I would like to investigate if we can make this work for all environments that supports promises. Another possibility would be to give up on hacking the test frameworks to behave the way we want and just live with the insecurity."}}