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.12.2 Latest Release

Published by satanTime 6 months ago

14.12.2 (2024-04-13)

Bug Fixes

  • unable to find instance in case of ng17 control flow (f6418d7), closes #7216
ng-mocks - v14.12.1

Published by satanTime 11 months ago

14.12.1 (2023-11-19)

Bug Fixes

  • undefined issue with some modules (8045447)
ng-mocks - v14.12.0

Published by satanTime 11 months ago

14.12.0 (2023-11-18)

Bug Fixes

  • ci: running npm after nvm #6505 (5a115a7)
  • docs: Fixed typo in MockBuilder docs (3fa9b54)
  • MockBuilder: detecting parent modules to build correct TestBed #6928 (2d0012c)
  • MockBuilder: respects global rules as they would be chain calls #6402 (23d9ba6)
  • ng-mocks: a17 support (ea19983)
  • ngMocks: respects custom errors on lookups #7041 (6c78f54)

Features

  • MockBuilder: supports EnvironmentProviders #7011 (b3ca1d4)
ng-mocks - v14.11.0

Published by satanTime over 1 year ago

14.11.0 (2023-06-11)

Bug Fixes

  • MockService: respects prototypes of customizations #5989 (e9945fe)

Features

  • MockBuilder: can be extended with custom methods #5417 (8da8c9d)
ng-mocks - v14.10.1

Published by satanTime over 1 year ago

14.10.1 (2023-05-13)

Bug Fixes

  • MockInstance: multi-token and multi-service #5585 (9c85dea)
ng-mocks - v14.10.0

Published by satanTime over 1 year ago

14.10.0 (2023-04-23)

Bug Fixes

  • core: better eval code to extend es6 classes #5465 (2dd66cd)
  • MockBuilder: touches kept modules in standalone components #5520 (1589172)

Features

  • core: supporting functional guards and resolvers #5455 (d8a13c1)
ng-mocks - v14.9.0

Published by satanTime over 1 year ago

14.9.0 (2023-04-15)

Features

ng-mocks - v14.8.0

Published by satanTime over 1 year ago

14.8.0 (2023-04-02)

Features

ng-mocks - v14.7.3

Published by satanTime over 1 year ago

14.7.3 (2023-03-26)

Bug Fixes

  • MockBuilder: configuration first, process later #5239 (992ef6a)
  • MockBuilder: respects pipe-transform in early mocks #5239 (979d42b)
ng-mocks - v14.7.2

Published by satanTime over 1 year ago

14.7.2 (2023-03-25)

Bug Fixes

ng-mocks - v14.7.1

Published by satanTime over 1 year ago

14.7.1 (2023-03-10)

Bug Fixes

ng-mocks - v14.7.0

Published by satanTime over 1 year ago

14.7.0 (2023-03-05)

Bug Fixes

  • deps: update nrwl monorepo to v15.8.5 (f73f25a)

Features

ng-mocks - v14.6.0

Published by satanTime over 1 year ago

14.6.0 (2023-01-21)

Features

  • core: ViewContainerRef.createComponent respects mocks #4742 (bd93b7b)
ng-mocks - v14.5.3

Published by satanTime almost 2 years ago

14.5.3 (2023-01-15)

Bug Fixes

  • MockBuilder: precise exports via TestBed.configureTestingModule #4641 (66a8ecc)
ng-mocks - v14.5.2

Published by satanTime almost 2 years ago

14.5.2 (2023-01-06)

Bug Fixes

  • MockBuilder: imports modules with providers on root level #4613 (3ed8ae4)
ng-mocks - v14.5.1

Published by satanTime almost 2 years ago

14.5.1 (2022-12-24)

Bug Fixes

  • core: correctly defines TestBed with multiple declarations with the same selector #4564 (1e01f82)
  • core: respecting transform in mock pipes #4564 (df51240)
ng-mocks - v14.5.0

Published by satanTime almost 2 years ago

14.5.0 (2022-12-11)

Features

  • core: hidden usage of MockBuilder in TestBed if kept and mock modules are used together #4344 (d77b6f2)
  • MockInstance: ignores undefined properties #4367 (70d9781)
ng-mocks - v14.4.0

Published by satanTime almost 2 years ago

14.4.0 (2022-11-27)

Bug Fixes

  • a15: adding NG_MOCKS_ROOT_PROVIDERS for RouteReuseStrategy (737247d)
  • core: correct caching of touched declarations #4344 (233f014)

Features

  • MockBuilder: mocks root providers via inject function #4282 (dc7026e)
ng-mocks - v14.3.4

Published by satanTime almost 2 years ago

14.3.4 (2022-11-22)

Bug Fixes

  • core: respecting schemas in mock modules #4228 (b13bf34)
  • core: support for EnvironmentProviders (bcb8112)
ng-mocks - v14.3.3

Published by satanTime almost 2 years ago

14.3.3 (2022-11-12)