mevn-cli
mevn-cli copied to clipboard
Write unit tests
There is an action handler for each command. You can also find a couple of helper functions consumed by the respective handler. We need to write unit tests to ensure that the helpers serve their purpose.
@jamesgeorge007 Hey is this up for grabs
@anooppoommen yeah, it is :+1: Let me know the command that you're willing to work on.
@jamesgeorge007 I'll work on the mevn init function for now
I want to work on this issue.
@cherryWood55 you may take up a command other than mevn init
Where is the mevn init unit test?
@otaviopace as of now we are missing out on unit tests (testing out the workflow in isolation). Feel free to pick up a command that you wish to work upon.
@jamesgeorge007 i am taking mev info.Is it okay?
@jamesgeorge007 I shall take generate if no one else has https://github.com/madlabsinc/mevn-cli/blob/develop/src/commands/basic/generate.js. But I did notice that there is no jest setup for unit tests only e2e. I can include the setup in my PR as well, but wondering what's the plan on that part.
@meroware thanks for showing interest, we don't have any unit tests at the moment. Feel free to shoot a PR.