Skip to content

Releases: hirezio/observer-spy

v2.2.0

28 Feb 15:21
4f7880e
Compare
Choose a tag to compare

2.2.0 (2022-02-28)

Features

  • return this in expectErrors() (be89804), closes #46

v2.1.2

02 Jan 12:11
Compare
Choose a tag to compare

2.1.2 (2022-01-02)

Bug Fixes

  • trying to fix types in dist (f1e04bf)

v2.1.1

10 Dec 22:17
Compare
Choose a tag to compare

2.1.1 (2021-12-10)

Bug Fixes

  • faketime: fix fakeTime for RxJS 7 (8acd37b), closes #39

v2.1.0

18 Dec 14:40
Compare
Choose a tag to compare

2.1.0 (2020-12-18)

Features

v2.0.0

29 Sep 15:52
Compare
Choose a tag to compare

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

v1.4.0

27 Sep 14:03
Compare
Choose a tag to compare

1.4.0 (2020-09-27)

Features

  • observer-spy: add autoUnsubscribe and rename subscribeAndSpyOn (931dd68), closes #15

DETAILS:

  • Rename subscribeAndSpyOn to subscribeSpyTo
  • Rename ObserverSpyWithSubscription to subscriberSpy
  • Add deprecation messages to subscribeAndSpyOn and ObserverSpyWithSubscription
  • Add autoUnsubscribe + setup file and `queueForAutoUnsubscribe
  • Update and improve README doc
  • Update CONTRIBUTING and CODE_OF_CONDUCT docs

v1.3.0

17 Jun 23:06
69b8f4e
Compare
Choose a tag to compare

1.3.0 (2020-06-17)

Features

v1.2.1

17 Jun 22:34
10d4999
Compare
Choose a tag to compare

1.2.1 (2020-06-17)

Bug Fixes

  • add missing fakeTime export (10d4999)

v1.2.0

13 Jun 11:57
0ca4d80
Compare
Choose a tag to compare

1.2.0 (2020-06-13)

Features

  • support async await for onComplete (0ca4d80)

v1.1.0

10 Jun 15:30
Compare
Choose a tag to compare

1.1.0 (2020-06-10)

Features

  • faketime: added fakeTime wrapper function (35bc434)
  • observer-spy: added the onComplete method (6cb3f09)