Hi Colin,
Really great to hear back from you!
Regarding your question, jqMock can test that functions on one particular
object are executed in a particular order
(see section on "Ordered and Unordered Expectations" in user guide).
However, the ordering is maintained within the mock for that obj
>From what you described, you are adding the element after you have bound
an event.
So your code is really doing:
1. bind function to click event of some element
2. add some element to the dom
you can clearly see the event wont get attached to the element.
you'll either have to call the code ag
2 matches
Mail list logo