Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Unable to mock the functions using Smock.mock #179

@adi274

Description

@adi274

Describe the bug

I tried mocking a function but it's not working. Here is the gist containing the tests that I trying to run.

I tried mocking several functions

Expected behavior
The above mentioned functions should be mocked as per the requirements, but the actual implementations of the contract is running.

System Specs:

  • OS: MacOS Monterey
  • Hardhat version: 2.12.2
  • smock - ^2.3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions