Releases: hirezio/auto-spies
Releases · hirezio/auto-spies
v4.1.1
4.1.1 (2019-06-17)
Bug Fixes
- typings: fixed calledWith type resolution (c3cc2a6)
v4.1.0
4.1.0 (2019-06-03)
Features
- async: now promises and observables values are optional (bc6d721)
v4.0.0
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
3.2.1 (2019-02-06)
Bug Fixes
- observables: now handling any instance of observables (4f50285)
v2.1.0
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
3.2.0 (2018-12-26)
Features
- observable-methods: added nextOneTimeWith (3340a67)
- spy-method: added calledWith ability (4a62fc9)
v3.1.0
3.1.0 (2018-10-29)
Features
- observables: added complete() to ObservableSpy (192577c)
v3.0.3
3.0.3 (2018-09-13)
Bug Fixes
- types: fix the promise & observable types to extend jasmine.Spy (7aa6e1d)
v3.0.2
3.0.2 (2018-08-26)
Bug Fixes
- window: fixed the window-or-global dependency error (996e806)
v3.0.1
3.0.1 (2018-08-26)
Bug Fixes
- window: fixed the 'window is not defined' bug (4124391)