Skip to content

Releases: hirezio/auto-spies

v4.1.1

17 Jun 08:13
Compare
Choose a tag to compare

4.1.1 (2019-06-17)

Bug Fixes

  • typings: fixed calledWith type resolution (c3cc2a6)

v4.1.0

03 Jun 20:00
Compare
Choose a tag to compare

4.1.0 (2019-06-03)

Features

  • async: now promises and observables values are optional (bc6d721)

v4.0.0

31 May 09:53
Compare
Choose a tag to compare

4.0.0 (2019-05-31)

Features

  • async-spyable: deprecated @AsyncSpyable (dfae003)
  • called-with: added throwOnMismatch() to create mocks (ad63326)
  • called-with: calledWith now handles multiple configurations (07ea479)
  • create-spy-from-class: removed manual async declarations (82adcc1)

BREAKING CHANGES

  • called-with: errors that have been thrown in the past will be silent now, if you want to get the
    former behavior, use throwOnMismatch()
  • create-spy-from-class: you can't use createSpyFromClass(MyClass, [...promisesMethodNames], [...observableMethodNames]) anymore

v3.2.1

06 Feb 18:16
Compare
Choose a tag to compare

3.2.1 (2019-02-06)

Bug Fixes

  • observables: now handling any instance of observables (4f50285)

v2.1.0

30 Dec 13:08
Compare
Choose a tag to compare

2.1.0 (2018-12-30)

Features

  • mocks: added calledwith() ability (d566cab)
  • observable-methods: added complete() configuring ability (ccaa75e)
  • observable-methods: added nextOneTimeWith (a1c9a4d)

v3.2.0

26 Dec 16:49
Compare
Choose a tag to compare

3.2.0 (2018-12-26)

Features

  • observable-methods: added nextOneTimeWith (3340a67)
  • spy-method: added calledWith ability (4a62fc9)

v3.1.0

29 Oct 17:03
Compare
Choose a tag to compare

3.1.0 (2018-10-29)

Features

  • observables: added complete() to ObservableSpy (192577c)

v3.0.3

13 Sep 16:48
Compare
Choose a tag to compare

3.0.3 (2018-09-13)

Bug Fixes

  • types: fix the promise & observable types to extend jasmine.Spy (7aa6e1d)

v3.0.2

26 Aug 20:27
Compare
Choose a tag to compare

3.0.2 (2018-08-26)

Bug Fixes

  • window: fixed the window-or-global dependency error (996e806)

v3.0.1

26 Aug 20:16
Compare
Choose a tag to compare

3.0.1 (2018-08-26)

Bug Fixes

  • window: fixed the 'window is not defined' bug (4124391)