Reset the port postEvent spy to have more readable tests