Skip to content

GreeterFactory.deploy(...) for tests #50

Answered by PaulRBerg
SvenMeyer asked this question in Q&A
Discussion options

You must be logged in to vote

Because if we do that, we lose compatibility with the Waffle features like snapshots and fixtures (and I think mock contracts too).

https://github.com/paulrberg/solidity-template/blob/caed14d1debac5392ee371d0d74ef8b06868b57e/test/Greeter.ts#L9

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by PaulRBerg
Comment options

You must be logged in to vote
1 reply
@SvenMeyer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #49 on July 01, 2021 12:38.