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
Our unit tests currently use a very simple MockObserver, which essentially turns an observer inside-out so its next method may be called by unit tests. Unfortunately, this presumes that there is only one observer per test, an assumption that fails for .velocity(pulse). Thus, we should use MotionSubjects for testing.
Our unit tests currently use a very simple
MockObserver
, which essentially turns an observer inside-out so itsnext
method may be called by unit tests. Unfortunately, this presumes that there is only one observer per test, an assumption that fails for.velocity(pulse)
. Thus, we should use MotionSubjects for testing.TODO
export const MotionSubject = withMotionOperators(IndefiniteSubject)
MotionSubject
instead ofcreateMockObserver()
createMockObserver()
Blocked on #194
The text was updated successfully, but these errors were encountered: