SuperSpy

SuperSpy

Intermediate class that is generated and injected into the hierarchy between the parent class and the child class. This class will mirror all constructor to a sinon stub that can be inspected to perform tests on constructor calls. This allows calls to super() to be tested.

This class is not meant to be (and cannot be) instantiated directly.