to-mock

The utility to mock class and objects. You can use mocked classes and objects for your unit and integration tests

Package versions

26 VERSIONS IN TOTAL
versionpublisheddirect vulnerabilities
2.0.126 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.0.026 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.6.214 Feb, 2020
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.6.16 Feb, 2020
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.6.016 Jan, 2020
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.5.51 Jan, 2020
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.5.410 Jun, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.5.319 May, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.5.218 Apr, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.5.123 Mar, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.5.010 Mar, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.4.12 Mar, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.4.023 Jan, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.3.025 Nov, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.2.631 Jul, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.2.530 Jul, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.2.228 May, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.2.125 Nov, 2017
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.2.025 Oct, 2017
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.1.14 Oct, 2017
  • 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