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
The `stubFn` parameter corresponds to the installed doubles adapter (`jest.fn()` for Jest, `vi.fn()` for Vitest, `sinon.stub()` for Sinon). This approach is useful for fixed mock behavior that does not need modification during tests.
189
+
153
190
#### Testing with real dependencies
154
191
155
192
Use `TestBed.sociable()` with `.expose()` to use real implementations for specific dependencies:
0 commit comments