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
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
createSpyObject is public api for Jasmine, but only internal for Jest.
Expected behavior
It should be public api for both environments.
Minimal reproduction of the problem with instructions
Not applicable.
What is the motivation / use case for changing the behavior?
For homogeneity it's desireable to manually mock objects in the same way that spectator mocks objects automatically. In fact that's already possible with public api by using mockProvider(type, properties).useFactory(). However that's rather unintuitive to write out all the time ;).
Environment
Not relevant.
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Current behavior
createSpyObject
is public api for Jasmine, but only internal for Jest.Expected behavior
It should be public api for both environments.
Minimal reproduction of the problem with instructions
Not applicable.
What is the motivation / use case for changing the behavior?
For homogeneity it's desireable to manually mock objects in the same way that spectator mocks objects automatically. In fact that's already possible with public api by using
mockProvider(type, properties).useFactory()
. However that's rather unintuitive to write out all the time ;).Environment
Not relevant.
The text was updated successfully, but these errors were encountered: