Easily stub the super call from a constructor using jest
Just use it passing the class you want to stub the super on the constructor, like this:
const superStub = stubSuperConstructor(MyClass);
And use the superStub the way you're used to, as with any other spy.
Licensed under MIT.