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 - v10.5.2

Published by satanTime almost 4 years ago

10.5.2 (2020-11-04)

Bug Fixes

  • keeping root providers for kept modules (dc078af), closes #222
  • providing a root service as it is for kept declarations (e5486e6), closes #222
  • respecting mock keep switch in nested modules (2f185fb)
  • support of ngOnChanges from OnChanges interface (820dc94)
ng-mocks - v10.5.1

Published by satanTime almost 4 years ago

10.5.1 (2020-11-01)

Bug Fixes

  • mocking custom deps of providers (87da53b)
  • providing MockProvider and its docs (ecfb15d)
ng-mocks - v10.5.0

Published by satanTime almost 4 years ago

10.5.0 (2020-10-30)

Bug Fixes

  • mocking token more intelligently (0f7cc0c)
  • supporting null as keepDeclaration of MockBuilder (5f44445)
  • supporting pipes in providers (6e252e8), closes #218

Features

  • detecting global providers and mocking them (a36a9df)
  • exclude feature for ngMocks.guts (1886fd1)
  • token to exclude all guards (7068784)
  • token to exclude all interceptors (660f4c4)
ng-mocks - v10.4.0

Published by satanTime almost 4 years ago

10.4.0 (2020-10-24)

Features

  • exportAll flag for modules (5f8835c)
  • ngMocks.guts for easy start (d19f958)
  • supporting fixture in ngMocks.find (26da8a4)