{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/qunit/issues/838","labels_url":"https://api.github.com/repos/jquery/qunit/issues/838/labels{/name}","comments_url":"https://api.github.com/repos/jquery/qunit/issues/838/comments","events_url":"https://api.github.com/repos/jquery/qunit/issues/838/events","html_url":"https://github.com/jquery/qunit/issues/838","id":95863683,"number":838,"title":"zero assertions and one assertion simultaneously?!","user":{"login":"BryanCrotaz","id":2016523,"avatar_url":"https://avatars.githubusercontent.com/u/2016523?v=3","gravatar_id":"","url":"https://api.github.com/users/BryanCrotaz","html_url":"https://github.com/BryanCrotaz","followers_url":"https://api.github.com/users/BryanCrotaz/followers","following_url":"https://api.github.com/users/BryanCrotaz/following{/other_user}","gists_url":"https://api.github.com/users/BryanCrotaz/gists{/gist_id}","starred_url":"https://api.github.com/users/BryanCrotaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BryanCrotaz/subscriptions","organizations_url":"https://api.github.com/users/BryanCrotaz/orgs","repos_url":"https://api.github.com/users/BryanCrotaz/repos","events_url":"https://api.github.com/users/BryanCrotaz/events{/privacy}","received_events_url":"https://api.github.com/users/BryanCrotaz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-18T22:08:34Z","updated_at":"2015-10-16T20:33:47Z","closed_at":"2015-10-16T20:33:46Z","body":"```\r\nFound 2 of div > span but 1/2 containing \"myfile.jpg\"@ 174 ms\r\nExpected: \t\r\ntrue\r\nResult: \t\r\nfalse\r\nDiff: \t\r\ntrue false \r\nSource: \t\r\n<snip>\r\nExpected 0 assertions, but 1 were run@ 217 ms\r\nSource: \t\r\n<snip>\r\nExpected at least one assertion, but none were run - call expect(0) to accept zero assertions.@ 155 ms\r\nSource: \t\r\n<snip>\r\n```\r\n\r\nSo I simultaneously had zero asserts and one assert???\r\n\r\nEmber test code is:\r\n```javascript\r\nimport hbs from 'htmlbars-inline-precompile';\r\nimport { moduleForComponent, test } from 'ember-qunit';\r\nimport startApp from 'insm-ui/tests/helpers/start-app';\r\n\r\nvar application;\r\n\r\nmoduleForComponent('file-upload-monitor-item', {\r\n  integration: true,\r\n  beforeEach: function() {\r\n    application = startApp();\r\n  }\r\n});\r\n\r\ntest('it renders', function(assert) {\r\n  assert.expect(0);\r\n  this.testupload = {\r\n    fileName: \"myfile.jpg\"\r\n  };\r\n  this.render(hbs`{{file-upload-monitor-item upload=testupload}}`);\r\n  expectElement('div > span', 2, {contains:'myfile.jpg'});\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/jquery/qunit/issues/comments/148826922","html_url":"https://github.com/jquery/qunit/issues/838#issuecomment-148826922","issue_url":"https://api.github.com/repos/jquery/qunit/issues/838","id":148826922,"user":{"login":"jzaefferer","id":52585,"avatar_url":"https://avatars.githubusercontent.com/u/52585?v=3","gravatar_id":"","url":"https://api.github.com/users/jzaefferer","html_url":"https://github.com/jzaefferer","followers_url":"https://api.github.com/users/jzaefferer/followers","following_url":"https://api.github.com/users/jzaefferer/following{/other_user}","gists_url":"https://api.github.com/users/jzaefferer/gists{/gist_id}","starred_url":"https://api.github.com/users/jzaefferer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzaefferer/subscriptions","organizations_url":"https://api.github.com/users/jzaefferer/orgs","repos_url":"https://api.github.com/users/jzaefferer/repos","events_url":"https://api.github.com/users/jzaefferer/events{/privacy}","received_events_url":"https://api.github.com/users/jzaefferer/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T20:33:46Z","updated_at":"2015-10-16T20:33:46Z","body":"Closing due to inactivity and inability to reproduce the issue."}}