9 Commits

Author SHA1 Message Date
Junseong Jang
f9ff630135 Add an assertion like 'expect(observable).to.produce.error()' to test 'onError'.
Fixed wrong test codes with the assertion.

Changed the behaviors of the following functions caused by argument types, to raise an error in the creation phase.

- Observable.defer
- Observable:buffer
- Observable:elementAt
- Observable:skipLast
- Observable:takeLast
- Observable:window
2019-03-28 03:04:58 +09:00
Junseong Jang
f1363ea5c5 Fix combineLatest operator subscription to unsubscribe from all subscription
If there is any nil subscription from sources,
the subscription skips to unsubscribe from the rest source's subscriptions.
2018-08-31 12:26:56 +09:00
xster
081b2cf55b Fix combineLatest to produce the subscription. 2018-05-17 17:25:11 +09:00
bjorn
4b0833d44e Rename fromValue to of; 2016-10-15 10:31:23 -07:00
bjorn
5f6d142f74 Safely execute user supplied code; 2015-11-16 20:48:56 -08:00
bjorn
c3eb908382 Update tests; 2015-10-25 11:44:56 -07:00
bjorn
5a925f68dc Observable.combine -> Observable.combineLatest; 2015-10-24 14:59:51 -07:00
bjorn
691b4a98eb combineLatest -> combine; Update documentation; 2015-09-01 12:39:13 -07:00
bjorn
9239304b8d Test Observable.combineLatest; 2015-08-31 20:38:10 -07:00