It's probably fine to just use player here instead of expectedEvent.target which is never used.