{"action":"created","issue":{"url":"https://api.github.com/repos/jeysal/babel-plugin-spock/issues/24","repository_url":"https://api.github.com/repos/jeysal/babel-plugin-spock","labels_url":"https://api.github.com/repos/jeysal/babel-plugin-spock/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/jeysal/babel-plugin-spock/issues/24/comments","events_url":"https://api.github.com/repos/jeysal/babel-plugin-spock/issues/24/events","html_url":"https://github.com/jeysal/babel-plugin-spock/issues/24","id":308277992,"number":24,"title":"cleaner error messages in test runners","user":{"login":"jeysal","id":16069751,"avatar_url":"https://avatars0.githubusercontent.com/u/16069751?v=4","gravatar_id":"","url":"https://api.github.com/users/jeysal","html_url":"https://github.com/jeysal","followers_url":"https://api.github.com/users/jeysal/followers","following_url":"https://api.github.com/users/jeysal/following{/other_user}","gists_url":"https://api.github.com/users/jeysal/gists{/gist_id}","starred_url":"https://api.github.com/users/jeysal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeysal/subscriptions","organizations_url":"https://api.github.com/users/jeysal/orgs","repos_url":"https://api.github.com/users/jeysal/repos","events_url":"https://api.github.com/users/jeysal/events{/privacy}","received_events_url":"https://api.github.com/users/jeysal/received_events","type":"User","site_admin":false},"labels":[{"id":764396327,"url":"https://api.github.com/repos/jeysal/babel-plugin-spock/labels/enhancement","name":"enhancement","color":"1d76db","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jeysal/babel-plugin-spock/milestones/1","html_url":"https://github.com/jeysal/babel-plugin-spock/milestone/1","labels_url":"https://api.github.com/repos/jeysal/babel-plugin-spock/milestones/1/labels","id":3195359,"number":1,"title":"1.0.0","description":"","creator":{"login":"jeysal","id":16069751,"avatar_url":"https://avatars0.githubusercontent.com/u/16069751?v=4","gravatar_id":"","url":"https://api.github.com/users/jeysal","html_url":"https://github.com/jeysal","followers_url":"https://api.github.com/users/jeysal/followers","following_url":"https://api.github.com/users/jeysal/following{/other_user}","gists_url":"https://api.github.com/users/jeysal/gists{/gist_id}","starred_url":"https://api.github.com/users/jeysal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeysal/subscriptions","organizations_url":"https://api.github.com/users/jeysal/orgs","repos_url":"https://api.github.com/users/jeysal/repos","events_url":"https://api.github.com/users/jeysal/events{/privacy}","received_events_url":"https://api.github.com/users/jeysal/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":7,"state":"open","created_at":"2018-03-17T20:32:32Z","updated_at":"2018-04-12T19:13:53Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-03-24T16:35:37Z","updated_at":"2018-04-13T19:36:31Z","closed_at":null,"author_association":"OWNER","body":"The output of failing assertions in different test runners varies greatly.\r\nMost are too verbose and include information that has no value for the user.\r\nE.g. Jest:\r\n```\r\n    assert.equal(received, expected) or assert(received) \r\n    \r\n    Expected value to be (operator: ==):\r\n      true\r\n    Received:\r\n      false\r\n\r\n    ...\r\n```\r\nAVA:\r\n```\r\n  AssertionError [ERR_ASSERTION] (AssertionError) {\r\n    actual: false,\r\n    code: 'ERR_ASSERTION',\r\n    expected: true,\r\n    generatedMessage: true,\r\n    operator: '==',\r\n    powerAssertContext: {\r\n      args: [\r\n        Object { … },\r\n      ],\r\n      source: {\r\n        ast: Object { … },\r\n        content: '_assert(x === double(2))',\r\n        filepath: 'ava.js',\r\n        line: 12,\r\n        tokens: Array [ … ],\r\n        visitorKeys: Object { … },\r\n      },\r\n    },\r\n    // ...\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/jeysal/babel-plugin-spock/issues/comments/381240570","html_url":"https://github.com/jeysal/babel-plugin-spock/issues/24#issuecomment-381240570","issue_url":"https://api.github.com/repos/jeysal/babel-plugin-spock/issues/24","id":381240570,"user":{"login":"jeysal","id":16069751,"avatar_url":"https://avatars0.githubusercontent.com/u/16069751?v=4","gravatar_id":"","url":"https://api.github.com/users/jeysal","html_url":"https://github.com/jeysal","followers_url":"https://api.github.com/users/jeysal/followers","following_url":"https://api.github.com/users/jeysal/following{/other_user}","gists_url":"https://api.github.com/users/jeysal/gists{/gist_id}","starred_url":"https://api.github.com/users/jeysal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeysal/subscriptions","organizations_url":"https://api.github.com/users/jeysal/orgs","repos_url":"https://api.github.com/users/jeysal/repos","events_url":"https://api.github.com/users/jeysal/events{/privacy}","received_events_url":"https://api.github.com/users/jeysal/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T19:36:31Z","updated_at":"2018-04-13T19:36:31Z","author_association":"OWNER","body":"For Ava, the try-catch wrap method should also work."}}
{"actor":{"display_login":"jeysal"}}