You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using proxies could get over the issue faced with interfaces having no definition at runtime however we'd need to make assumptions between functions and properties when determining what value to return
Mock<T>(T); // creates a mock based on the passed prototype
Mock<I>(); // creates a mock using a Proxy assuming all properties are FunctionSpies
Then properties should be overridden by something like
Using proxies could get over the issue faced with interfaces having no definition at runtime however we'd need to make assumptions between functions and properties when determining what value to return
Then properties should be overridden by something like
to define explicitly whether a property is a FunctionSpy or PropertySpy
The text was updated successfully, but these errors were encountered: