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 hidden (Show)

ng-mocks - v13.4.1

Published by satanTime over 2 years ago

13.4.1 (2022-04-10)

Bug Fixes

ng-mocks - v13.4.0

Published by satanTime over 2 years ago

13.4.0 (2022-04-03)

Bug Fixes

  • a14: injecting mock components in vcr.createComponent #333 (f3e5fd9)
  • core: BrowserAnimationsModule is optional dependency now #1377 (6f4e8da)
  • core: removing isNgModuleDefWithProviders from exports #2173 (7501dc9)

Features

  • core: BrowserAnimationsModule better coverage #1377 (a2eaf88)
ng-mocks - v13.3.0

Published by satanTime over 2 years ago

13.3.0 (2022-03-27)

Bug Fixes

  • core: better error messages #1168 (cad1efb)
  • ngMocks.stubMember: forwarding stub values to point.componentInstance #1165 (3450e1d)

Features

  • ngMocks.findInstance: looks for instances in all matched DebugElements #2105 (bb39517)
  • ngMocks.findInstance: supports tokens #2097 (9387209)

Performance Improvements

ng-mocks - v13.2.0

Published by satanTime over 2 years ago

13.2.0 (2022-03-20)

Bug Fixes

  • MockInstance: correctly accepts falsy values #2087 (8900fc3)

Features

  • ngMocks.defaultConfig: config for MockBuilder #971 (9415f57)
ng-mocks - v13.1.1

Published by satanTime over 2 years ago

13.1.1 (2022-03-12)

Bug Fixes

  • a14: adding a14 to peerDependencies (e76b644)
  • core: generic in getMockedNgDefOf #985 (567908d)
ng-mocks - v13.1.0

Published by satanTime over 2 years ago

13.1.0 (2022-03-06)

Bug Fixes

Features

  • MockInstance: resets root overrides likewise properties #1256 (a903556)
ng-mocks - v13.0.4

Published by satanTime over 2 years ago

13.0.4 (2022-02-27)

Bug Fixes

ng-mocks - v13.0.3

Published by satanTime over 2 years ago

13.0.3 (2022-02-20)

Bug Fixes

  • mock-render: apply overrides to components with no selectors #1876 (b032746)
ng-mocks - v13.0.2

Published by satanTime over 2 years ago

13.0.2 (2022-02-06)

Bug Fixes

  • ie: running IE on A5 and old nodejs (087d58d)
ng-mocks - v13.0.1

Published by satanTime over 2 years ago

13.0.1 (2022-02-06)

Bug Fixes

ng-mocks - v13.0.0

Published by satanTime over 2 years ago

13.0.0 (2022-01-23)

Bug Fixes

  • a13: creating known props and methods (5386f77)
  • a13: parsing a9 declarations (b12e00a)
  • core: correct resets on errors (e3b1809)
  • core: ignoring host bindings in mocks #1427 (411842c)
  • core: parsing only own declarations #1587 (978bdbc)

Features

BREAKING CHANGES

  • a13: Angular 13 only support
ng-mocks - v13.0.0-alpha.6

Published by satanTime almost 3 years ago

13.0.0-alpha.6 (2022-01-18)

Bug Fixes

ng-mocks - v13.0.0-alpha.5

Published by satanTime almost 3 years ago

13.0.0-alpha.5 (2022-01-17)

Bug Fixes

ng-mocks - v13.0.0-alpha.4

Published by satanTime almost 3 years ago

13.0.0-alpha.4 (2022-01-16)

Bug Fixes

  • core: correct resets on errors (e3b1809)
ng-mocks - v13.0.0-alpha.3

Published by satanTime almost 3 years ago

13.0.0-alpha.3 (2022-01-15)

Bug Fixes

  • a13: creating known props and methods (5386f77)
  • a13: parsing a9 declarations (b12e00a)
ng-mocks - v13.0.0-alpha.2

Published by satanTime almost 3 years ago

13.0.0-alpha.2 (2022-01-09)

Features

  • a13: recursive declarations (396573f)
ng-mocks - v13.0.0-alpha.1

Published by satanTime almost 3 years ago

13.0.0-alpha.1 (2022-01-08)

Features

BREAKING CHANGES

  • a13: Angular 13 only support
ng-mocks - v12.5.1

Published by satanTime almost 3 years ago

12.5.1 (2021-12-20)

ng-mocks - v12.5.0

Published by satanTime about 3 years ago

12.5.0 (2021-09-13)

Bug Fixes

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

Features

ng-mocks - v12.4.0

Published by satanTime about 3 years ago

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)