Skip to content

v2.0.0

Compare
Choose a tag to compare
@shairez shairez released this 29 Sep 15:52
· 61 commits to master since this release

2.0.0 (2020-09-29)

Bug Fixes

  • errors: add "expectErrors" (9efe8c6), closes #20

chore

  • removed ObserverSpyWithSubscription and subscribeAndSpyOn (7a2f274)

BREAKING CHANGES

  • errors: From now observerSpy.getError() and observerSpy.receivedError() won't work
    unless you configure new ObserverSpy({expectErrors: true})
    or if you already have an instance (before subscribing) - observerSpy.expectErrors().
    And if you're using the factory function configure it like this -
    subscribeSpyTo(observable, {expectErrors: true})
  • removed ObserverSpyWithSubscription and subscribeAndSpyOn