ng-mocks

ng-mocks simplifies Angular testing with mock dependencies, shallow rendering and less boilerplate. Mock components, services, directives, pipes and modules in Angular 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 with Jasmine, Jest or Vitest.

Package versions

192 VERSIONS IN TOTAL
versionpublisheddirect vulnerabilities
14.17.610 Sep, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.17.56 Sep, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.17.45 Sep, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.17.324 Aug, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.17.217 Aug, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.17.112 Aug, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.17.010 Aug, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.16.16 Aug, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.16.03 Aug, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.15.327 May, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.15.215 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.15.14 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.15.020 Dec, 2025
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.14.011 Oct, 2025
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.13.522 May, 2025
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.13.411 Mar, 2025
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.13.39 Mar, 2025
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.13.212 Jan, 2025
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.13.125 Aug, 2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
14.13.01 Jun, 2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Get started free