Calling trigger() doesn't always fire when called from QUnit
问题 Although I've used QUnit in the past, it's been a year since I really used it, so I am hoping this is something trivial! I have a bunch of QUnit tests that are working really well, apart from one that fails every other time that the page is loaded. If I refresh, the test works, but if I refresh again it breaks! It's become predictable but I cannot see why it's not working. The test in question should use a trigger('change') event, but this only fires every other time. I have a dynamically