Releases: help-me-mom/ng-mocks
Releases · help-me-mom/ng-mocks
v12.0.1
12.0.1 (2021-05-21)
Bug Fixes
- core: a config parameter to suppress MockRender errors #572 (bcfe23a)
- core: broken query selectors are properly normalized #567 (9c1ea70)
- default-mock: supports an array with declarations #568 (5d3b43e)
- default-mock: supports generic type in array signature #583 (c925818)
- faster: supports directives and components without selectors #576 (599c7d5)
- mock-render: allowing to disable flush TestBed warning (6131ecb)
- mock-render: providing a MockRenderFactory in order to reuse the same middleware component (79fa336)
Performance Improvements
- core: switching internal stack to an array instead of a set (24c4bfd)
v12.0.0
v11.11.2
v11.11.1
v11.11.0
11.11.0 (2021-05-09)
Bug Fixes
- mock-builder: overrides mock modules for platform #435 (bf469bc)
- mock-builder: respecting forward-ref and modules with providers #312 (4a099b8)
- overrides as functions are properly cloned #455 (9310d34)
- skipping wrong query selectors #445 (6750939)
- supporting new structure of lView (8d3cadf)
- #333: register mock components with entryComponents (3a53431), closes #333
Features
- faster: supports MockRender in beforeAll #488 (df4418c)
- mock-builder: accepts arrays in params #386 (c8d8e40)
- mock-render: generates tpl only for provided inputs and outputs #434 (23d45a2)
- mock-render: throws on wrong usage #488 (b4a62bc)
- almost all ngMocks helpers support css selectors #317 (b348842)
v11.10.1
v11.10.0
v11.9.1
v11.9.0
v11.8.0
11.8.0 (2021-02-25)
Features
- find ng-container via ngMocks.reveal and revealAll (71390b2), closes #289
- ngMocks.render and .hide support debugNodes (55a1b4c)
- respect of virtual dom with ngMocks.crawl (030b29f), closes #289