You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, using createMockedFunction() with "matchstick-as": "^0.5.0" with "@graphprotocol/graph-ts": "^0.27.0" gives incompatability issues; making the function unusable (see here).
However, simply updating to "matchstick-as": "^0.6.0" and "graphprotocol/graph-ts": "^0.31.0" fixes this issue and allows one to use createMockedFunction() properly.
The text was updated successfully, but these errors were encountered:
The docs imply that matchstick-as >=0.5.0 is a requirement.
As explained here: https://thegraph.com/docs/en/developing/unit-testing-framework/#tests-structure-050
However, using
createMockedFunction()
with"matchstick-as": "^0.5.0"
with"@graphprotocol/graph-ts": "^0.27.0"
gives incompatability issues; making the function unusable (see here).However, simply updating to
"matchstick-as": "^0.6.0"
and"graphprotocol/graph-ts": "^0.31.0"
fixes this issue and allows one to usecreateMockedFunction()
properly.The text was updated successfully, but these errors were encountered: