auto-spies

Create automatic spies from classes

MIT License

Downloads
266.4K
Stars
179
Committers
15

Bot releases are hidden (Show)

auto-spies - v3.2.1

Published by shairez over 5 years ago

3.2.1 (2019-02-06)

Bug Fixes

  • observables: now handling any instance of observables (4f50285)
auto-spies - v2.1.0

Published by shairez almost 6 years ago

2.1.0 (2018-12-30)

Features

  • mocks: added calledwith() ability (d566cab)
  • observable-methods: added complete() configuring ability (ccaa75e)
  • observable-methods: added nextOneTimeWith (a1c9a4d)
auto-spies - v3.2.0

Published by shairez almost 6 years ago

3.2.0 (2018-12-26)

Features

  • observable-methods: added nextOneTimeWith (3340a67)
  • spy-method: added calledWith ability (4a62fc9)
auto-spies - v3.1.0

Published by shairez almost 6 years ago

3.1.0 (2018-10-29)

Features

  • observables: added complete() to ObservableSpy (192577c)
auto-spies - v3.0.3

Published by shairez about 6 years ago

3.0.3 (2018-09-13)

Bug Fixes

  • types: fix the promise & observable types to extend jasmine.Spy (7aa6e1d)
auto-spies - v3.0.2

Published by shairez about 6 years ago

3.0.2 (2018-08-26)

Bug Fixes

  • window: fixed the window-or-global dependency error (996e806)
auto-spies - v3.0.1

Published by shairez about 6 years ago

3.0.1 (2018-08-26)

Bug Fixes

  • window: fixed the 'window is not defined' bug (4124391)
auto-spies - v3.0.0

Published by shairez about 6 years ago

3.0.0 (2018-08-03)

Code Refactoring

  • Observable: The method nextWithError has been renamed to throwWith (abf057e)

Features

  • types: Added conditional typesTypeScript auto completes the spy methods based on the AutoSpyable method's return type

BREAKING CHANGES

  • Observable: The method nextWithError has been renamed to throwWith
  • TypeScript Version: Requires TypeScript 2.8 and above (c3f6ed2)
auto-spies - v2.0.3

Published by shairez over 6 years ago

2.0.3 (2018-07-11)

Bug Fixes

  • global: changed global dependency to window (f5633e8)
auto-spies - v2.0.2

Published by shairez over 6 years ago

2.0.2 (2018-07-11)

Bug Fixes

  • global: fixed the global fix (c20d007)
auto-spies - v2.0.1

Published by shairez over 6 years ago

2.0.1 (2018-07-11)

Bug Fixes

  • global: Add a shim for global in case it runs in a browser (bcaa770)
auto-spies - v2.0.0

Published by shairez over 6 years ago

2.0.0 (2018-06-27)

Features

  • RxJS: Upgraded to RxJS 6 (f9eca33)

BREAKING CHANGES

  • RxJS: RxJS 6 will break existing projects
auto-spies - v1.0.0

Published by shairez over 6 years ago

1.0.0 (2018-06-26)

Features

BREAKING CHANGES

  • Wanted to push it to 1.0.0