{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/81","repository_url":"https://api.github.com/repos/vuejs/vue-test-utils","labels_url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/81/comments","events_url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/81/events","html_url":"https://github.com/vuejs/vue-test-utils/issues/81","id":263937756,"number":81,"title":"Vuex example correction","user":{"login":"lmiller1990","id":19196536,"avatar_url":"https://avatars1.githubusercontent.com/u/19196536?v=4","gravatar_id":"","url":"https://api.github.com/users/lmiller1990","html_url":"https://github.com/lmiller1990","followers_url":"https://api.github.com/users/lmiller1990/followers","following_url":"https://api.github.com/users/lmiller1990/following{/other_user}","gists_url":"https://api.github.com/users/lmiller1990/gists{/gist_id}","starred_url":"https://api.github.com/users/lmiller1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmiller1990/subscriptions","organizations_url":"https://api.github.com/users/lmiller1990/orgs","repos_url":"https://api.github.com/users/lmiller1990/repos","events_url":"https://api.github.com/users/lmiller1990/events{/privacy}","received_events_url":"https://api.github.com/users/lmiller1990/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-09T15:34:02Z","updated_at":"2017-10-09T16:08:37Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI used avoriaz previously, now trying this. I notice in this page https://vue-test-utils.vuejs.org/en/guides/using-with-vuex.html\r\n\r\nThe example says:\r\n```\r\nit('calls store action actionClick when button is clicked', () => {\r\n    const wrapper = mount(Actions, { store })\r\n    wrapper.find('button')[0].trigger('click')\r\n    expect(actions.actionClick.calledOnce).toBe(true)\r\n  })\r\n```\r\n\r\nI didn't run this example sample, but one very similar - my component also only has one button, and two `<input>`. I had to go  `wrapper.find('button').trigger('click')`, without the `[0]` index. \r\n\r\nMaybe this is just a slight error -  I think avoriaz would use the `[0]` regardless, but vue-test-utils does it a little different?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/comments/335204566","html_url":"https://github.com/vuejs/vue-test-utils/issues/81#issuecomment-335204566","issue_url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/81","id":335204566,"user":{"login":"eddyerburgh","id":13196123,"avatar_url":"https://avatars3.githubusercontent.com/u/13196123?v=4","gravatar_id":"","url":"https://api.github.com/users/eddyerburgh","html_url":"https://github.com/eddyerburgh","followers_url":"https://api.github.com/users/eddyerburgh/followers","following_url":"https://api.github.com/users/eddyerburgh/following{/other_user}","gists_url":"https://api.github.com/users/eddyerburgh/gists{/gist_id}","starred_url":"https://api.github.com/users/eddyerburgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddyerburgh/subscriptions","organizations_url":"https://api.github.com/users/eddyerburgh/orgs","repos_url":"https://api.github.com/users/eddyerburgh/repos","events_url":"https://api.github.com/users/eddyerburgh/events{/privacy}","received_events_url":"https://api.github.com/users/eddyerburgh/received_events","type":"User","site_admin":false},"created_at":"2017-10-09T16:08:37Z","updated_at":"2017-10-09T16:08:37Z","author_association":"MEMBER","body":"Yes, this is an error. The page was copied over from avoriaz, and we forgot to update the code. \r\n\r\nWould you be able to make a PR fixing this issues?"}}
{"actor":{"display_login":"eddyerburgh"}}