How do I wait for oclif command output which makes an async rest API call for testing?
I’m trying to test an OCLIF app, said app uses superAgent within a command(execute
) and it all works as I intend. The issue is with testing the command.
I’ve been trying to use both oclif/test and native jest to no luck.
I’m sure I’m not understanding something clearly.