ng-mocks

Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup

MIT License

Downloads
1.6M
Stars
991
Committers
29

Bot releases are visible (Hide)

ng-mocks - v14.3.2

Published by satanTime almost 2 years ago

14.3.2 (2022-10-30)

Bug Fixes

  • MockRender: respecting customizations for declarations without selectors #4032 (880f5dd)
ng-mocks - v14.3.1

Published by satanTime almost 2 years ago

14.3.1 (2022-10-23)

Bug Fixes

ng-mocks - v14.3.0

Published by satanTime about 2 years ago

14.3.0 (2022-10-13)

Features

  • MockRender: the host element doesn't have ngContext attribute anymore #3811 (0138df7)
ng-mocks - v14.2.4

Published by satanTime about 2 years ago

14.2.4 (2022-10-09)

Bug Fixes

  • core: exporting internal types #3709 (8b9cb23)
  • core: providers with useExisting will be kept if their value is a kept declaration #3778 (4ef2885)
ng-mocks - v14.2.3

Published by satanTime about 2 years ago

14.2.3 (2022-09-24)

Bug Fixes

  • MockBuilder: better detection of provided dependencies #3635 (4e9aeab)
  • MockRender: does not throw on standalone declarations #3636 (b2de841)
ng-mocks - v14.2.2

Published by satanTime about 2 years ago

14.2.2 (2022-09-18)

Bug Fixes

ng-mocks - v14.2.1

Published by satanTime about 2 years ago

14.2.1 (2022-09-09)

Bug Fixes

ng-mocks - v14.2.0

Published by satanTime about 2 years ago

14.2.0 (2022-08-21)

Features

  • ngMocks: supports custom method names for change and touch #3341 (5068407)
ng-mocks - v14.1.3

Published by satanTime about 2 years ago

14.1.3 (2022-08-09)

Bug Fixes

ng-mocks - v14.1.2

Published by satanTime about 2 years ago

14.1.2 (2022-08-07)

Bug Fixes

  • MockBuilder: respects initial config of declarations #3265 (1bea651)
ng-mocks - v14.1.1

Published by satanTime about 2 years ago

14.1.1 (2022-07-31)

Bug Fixes

  • MockBuilder: respects global configuration for standalone dependencies #3161 (577e1d4)
ng-mocks - v14.1.0

Published by satanTime over 2 years ago

14.1.0 (2022-07-15)

Bug Fixes

  • core: detecting and mocking standalone directives correctly #3100 (560b334)
  • core: preventing recursion of self pointers #3095 (793a3c5)

Features

ng-mocks - v14.0.2

Published by satanTime over 2 years ago

14.0.2 (2022-07-11)

ng-mocks - v14.0.1

Published by satanTime over 2 years ago

14.0.1 (2022-06-19)

Bug Fixes

ng-mocks - v14.0.0

Published by satanTime over 2 years ago

14.0.0 (2022-06-18)

Bug Fixes

  • MockBuilder: respect extention of classes with different decorators #2646 (d069a90)

Features

  • core: Support of standalone declarations #2687 (797cec3)
  • MockBuilder: default flags as dependency or export #2647 (f37a663)

BREAKING CHANGES

  • MockBuilder: MockBuilder with 2 params marks all chain calls as dependency
  • MockBuilder: MockBuilder with 0-1 params marks all chain calls as export
ng-mocks - v13.5.2

Published by satanTime over 2 years ago

13.5.2 (2022-05-14)

Bug Fixes

  • core: correct type for AbstractType (6fbf18d)
  • core: using this as global object (5d21523)
ng-mocks - v13.5.1

Published by satanTime over 2 years ago

13.5.1 (2022-05-07)

Bug Fixes

  • MockRender: renders pipes with $implicit param #2398 (03f5f5e)
ng-mocks - v13.5.0

Published by satanTime over 2 years ago

13.5.0 (2022-05-01)

Bug Fixes

  • ngMocks.findInstance: finds pipes in attributes #2314 (1b8868f)
  • ngMocks.findInstance: works without fixture #2311 (7752914)

Features

  • MockProvider: simple generators for different types #599 (9d90121)
ng-mocks - v13.4.2

Published by satanTime over 2 years ago

13.4.2 (2022-04-11)

Bug Fixes

ng-mocks - v13.4.2-alpha.1

Published by satanTime over 2 years ago

13.4.2-alpha.1 (2022-04-11)

Bug Fixes