Make minor "close" event testing improvements
- Use asserts to verify that "close" events are not emitted earlier than they should be, rather than blindly resetting the close event listener stub. - Reset the sinon sandbox after each test to ensure any DOM APIs are unmocked
Showing
Please register or sign in to comment