In a letter to a Samuel Sparrow, John Wesley wrote:
We set out upon two principles: 1. None go to heaven without holiness of heart and life: 2. Whosoever follows after this (whatever his opinions be) is my “brother, and sister, and mother:” And we have not swerved an hair’s breadth from either one or the other of these to this day.
This letter was written in 1773. We could go back to 1738 and find him writing nearly the same thing about holiness of heart and life. As he writes, he did not waiver a hair’s breadth from these points.
“None go to heaven without holiness” is a bold claim. Notice it does not say “none go to heaven without Jesus.” This is because Jesus is the means to holiness for Wesley. Jesus has an instrumental role. He breaks the power of sin. His Spirit works holiness in us. But without actual holiness, belief in Jesus does not open the way to heaven either now or in eternity.
I don’t think Wesley would put it exactly that way, but this is my interpretation of his writings.