Skip to content

Releases: help-me-mom/ng-mocks

v12.5.0

13 Sep 13:16
81d776a
Compare
Choose a tag to compare

12.5.0 (2021-09-13)

Bug Fixes

  • MockInstance: proper reset on empty config #1046 (7d1642d)

Features

v12.4.0

25 Jul 17:33
f1a2ff9
Compare
Choose a tag to compare

12.4.0 (2021-07-25)

Features

  • core: internal stack integration with mocha runner #838 (14a97d0)
  • MockInstance: console.warn on forgotten resets #857 (3e35252)
  • MockInstance: manual control of mock scopes #857 (fc8a2ed)

v12.3.1

04 Jul 09:36
c58dae7
Compare
Choose a tag to compare

12.3.1 (2021-07-04)

Bug Fixes

  • core: right storage of internal stacks (ba0b64b)

v12.3.0

03 Jul 20:21
53da613
Compare
Choose a tag to compare

12.3.0 (2021-07-03)

Bug Fixes

  • core: using commonjs only because of optional packages #761 (adbad49)
  • jest: better detection and error reporting of jest.mock #760 (0903a12)
  • MockBuilder: params support tokens and modules with providers #762 (d58693e)

Features

  • ngMocks: allows to suppress console logs #578 (ee1c6bb)

v12.2.0

30 Jun 05:08
399162d
Compare
Choose a tag to compare

12.2.0 (2021-06-30)

Bug Fixes

  • core: allowing spies on ComponentFactoryResolver.resolveComponentFactory #736 (fda714e)
  • core: mock of mock will return itself (4358b99)

Features

  • core: mock for root and platform definitions #735 (04128b6)
  • core: throw on console can accept custom method names (fecc878)

v12.1.2

20 Jun 14:32
1711a92
Compare
Choose a tag to compare

12.1.2 (2021-06-20)

Performance Improvements

  • mock-render: caching generated component #731 (66e23c5)

v12.1.1

19 Jun 20:40
89eba7e
Compare
Choose a tag to compare

12.1.1 (2021-06-19)

Bug Fixes

  • core: building cjs and mjs #702 (f11c086)
  • core: supports mocks for viewProviders #726 (68f9946)
  • faster: support for pure TestBed #721 (d4e0c8a)
  • mock-builder: provides globally exported providers from directives and components #623 (58ee0d8)

v12.1.0

05 Jun 10:27
90e0a88
Compare
Choose a tag to compare

12.1.0 (2021-06-05)

Bug Fixes

  • core: excluding StoreDevtoolsModule by default #589 (c376e93)
  • core: supporting jest-circus as a test runner #610 (aaa0380)
  • jest: a fix in advance to listen to jest hooks #610 (1290c8a)
  • mock-builder: keeps and mocks modules with providers properly #625 (4d4ff49)
  • mock-render: factory can be used in describes #629 (f440760)
  • mock-render: skipping proxy for bindings from factory #621 (f4dae60)

Features

  • core: replacing animations with noop by default #641 (ca65de3)

Reverts

  • Revert "chore(deps): update dependency jest to v27" (1f4bd9a)

v12.0.2

25 May 21:09
3708a4b
Compare
Choose a tag to compare

12.0.2 (2021-05-25)

Bug Fixes

  • mock-render: default to onTestBedFlushNeed = warn #593 (a9e535c)
  • mock-render: dynamic params and cdr for factory #586 (73f54c5)

v12.0.1

21 May 07:25
5f13775
Compare
Choose a tag to compare

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)