{"action":"closed","issue":{"url":"https://api.github.com/repos/wallabyjs/public/issues/1596","repository_url":"https://api.github.com/repos/wallabyjs/public","labels_url":"https://api.github.com/repos/wallabyjs/public/issues/1596/labels{/name}","comments_url":"https://api.github.com/repos/wallabyjs/public/issues/1596/comments","events_url":"https://api.github.com/repos/wallabyjs/public/issues/1596/events","html_url":"https://github.com/wallabyjs/public/issues/1596","id":310231811,"number":1596,"title":"Strange error after triggering jQuery keyup event in test file","user":{"login":"tmunin","id":32817474,"avatar_url":"https://avatars0.githubusercontent.com/u/32817474?v=4","gravatar_id":"","url":"https://api.github.com/users/tmunin","html_url":"https://github.com/tmunin","followers_url":"https://api.github.com/users/tmunin/followers","following_url":"https://api.github.com/users/tmunin/following{/other_user}","gists_url":"https://api.github.com/users/tmunin/gists{/gist_id}","starred_url":"https://api.github.com/users/tmunin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmunin/subscriptions","organizations_url":"https://api.github.com/users/tmunin/orgs","repos_url":"https://api.github.com/users/tmunin/repos","events_url":"https://api.github.com/users/tmunin/events{/privacy}","received_events_url":"https://api.github.com/users/tmunin/received_events","type":"User","site_admin":false},"labels":[{"id":645070503,"url":"https://api.github.com/repos/wallabyjs/public/labels/configuration%20question","name":"configuration question","color":"d4c5f9","default":false},{"id":596831012,"url":"https://api.github.com/repos/wallabyjs/public/labels/solution%20suggested","name":"solution suggested","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-31T10:47:45Z","updated_at":"2018-04-01T09:45:11Z","closed_at":"2018-04-01T09:45:11Z","author_association":"NONE","body":"### Issue description or question\r\nI am now working on a project based on jQuery.\r\nI create JSDOM and virtual window in wallaby config setup method.\r\nAfter I added below code in a test file.\r\n\r\n```\r\nlet expectedQty = 15;\r\nlet input = $(\".saicle-sh input.125ml\");\r\ninput.val(expectedQty);\r\ninput.trigger(\"keyup\");\r\nlet actualQty = numeral($(\".preview tr.saicle-sh.125ml .qty\").text()).value();\r\nshould(actualQty).equal(expectedQty);\r\n```\r\nI found a strange error every time I start typing on source file as shown in these screenshots.\r\n![screen-shot-1-before](https://user-images.githubusercontent.com/32817474/38162419-1fa61b36-350b-11e8-9521-07e9919a6fce.png)\r\n![screen-shot-2-after-typing](https://user-images.githubusercontent.com/32817474/38162420-218f7ea6-350b-11e8-8878-3deba14c85ca.png)\r\n\r\nI have to restart Wallaby to clear this error away. but, If I comment out the line input.trigger(\"keyup\"), the wallaby system is back to its normal operation and work fine again. \r\n\r\nDo you know what might be the problem if I trigger jQuery event like this and also any work around suggestion?\r\n\r\n\r\n### Wallaby.js configuration file\r\n\r\n[wallaby.conf.js.zip](https://github.com/wallabyjs/public/files/1865401/wallaby.conf.js.zip)\r\n\r\n\r\n### Code editor or IDE name and version\r\n\r\nVisual Studio Code v1.21.1\r\n\r\n### OS name and version\r\nOSX"}}
{"actor":{"display_login":"ArtemGovorov"}}