{"action":"closed","issue":{"url":"https://api.github.com/repos/node-nock/nock/issues/873","repository_url":"https://api.github.com/repos/node-nock/nock","labels_url":"https://api.github.com/repos/node-nock/nock/issues/873/labels{/name}","comments_url":"https://api.github.com/repos/node-nock/nock/issues/873/comments","events_url":"https://api.github.com/repos/node-nock/nock/issues/873/events","html_url":"https://github.com/node-nock/nock/issues/873","id":218764870,"number":873,"title":"mock { ok: false } with status 200","user":{"login":"OscarBengtsson","id":14011384,"avatar_url":"https://avatars3.githubusercontent.com/u/14011384?v=3","gravatar_id":"","url":"https://api.github.com/users/OscarBengtsson","html_url":"https://github.com/OscarBengtsson","followers_url":"https://api.github.com/users/OscarBengtsson/followers","following_url":"https://api.github.com/users/OscarBengtsson/following{/other_user}","gists_url":"https://api.github.com/users/OscarBengtsson/gists{/gist_id}","starred_url":"https://api.github.com/users/OscarBengtsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OscarBengtsson/subscriptions","organizations_url":"https://api.github.com/users/OscarBengtsson/orgs","repos_url":"https://api.github.com/users/OscarBengtsson/repos","events_url":"https://api.github.com/users/OscarBengtsson/events{/privacy}","received_events_url":"https://api.github.com/users/OscarBengtsson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-02T13:33:51Z","updated_at":"2017-04-02T13:42:03Z","closed_at":"2017-04-02T13:42:03Z","body":"How can I mock the response { ok: false } with status 200?\r\n\r\n```\r\nnock(hostUrl)\r\n    .post(\"/test\")\r\n    .reply(200, { ok: false })\r\n```\r\n\r\nCurrently I get response.ok = true"}}
{"actor":{"display_login":"OscarBengtsson"}}