{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/9","labels_url":"https://api.github.com/repos/sindresorhus/ava/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/ava/issues/9/comments","events_url":"https://api.github.com/repos/sindresorhus/ava/issues/9/events","html_url":"https://github.com/sindresorhus/ava/issues/9","id":50052857,"number":9,"title":"Skip test doesn't work","user":{"login":"kevva","id":709159,"avatar_url":"https://avatars.githubusercontent.com/u/709159?v=3","gravatar_id":"","url":"https://api.github.com/users/kevva","html_url":"https://github.com/kevva","followers_url":"https://api.github.com/users/kevva/followers","following_url":"https://api.github.com/users/kevva/following{/other_user}","gists_url":"https://api.github.com/users/kevva/gists{/gist_id}","starred_url":"https://api.github.com/users/kevva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevva/subscriptions","organizations_url":"https://api.github.com/users/kevva/orgs","repos_url":"https://api.github.com/users/kevva/repos","events_url":"https://api.github.com/users/kevva/events{/privacy}","received_events_url":"https://api.github.com/users/kevva/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sindresorhus/ava/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/sindresorhus/ava/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-25T16:47:47Z","updated_at":"2015-09-08T01:42:59Z","closed_at":null,"body":"`this._skip` is still `false` after running `.skip()`. It needs `.bind(this)` to work.\r\n\r\n```js\r\nvar i = 0;\r\n\r\nava(function (a) {\r\n\ta.skip(); // a.skip.bind(this) works\r\n\ti++;\r\n\ta.end();\r\n}).run(function () {\r\n\tt.is(i, 0);\r\n\tt.end();\r\n});\r\n```\r\n\r\nThis fails with `i` being `1`."},"comment":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/comments/138404258","html_url":"https://github.com/sindresorhus/ava/issues/9#issuecomment-138404258","issue_url":"https://api.github.com/repos/sindresorhus/ava/issues/9","id":138404258,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T01:42:59Z","updated_at":"2015-09-08T01:42:59Z","body":"@jenslind It's supposed to skip the assertion, but right now it tries to skip the whole test, which is clearly wrong.\r\n\r\nGoing forward:\r\n\r\n- [ ] Change `t.skip` to only create a skipped over assertion: https://github.com/substack/tape#tskipmsg\r\n- [ ] Add `ava.skip` to skip over a test."}}