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
I have a file fele.js that specifies all commands that my app needs.
Command Used - Just says hello world when hello is entered.
constprogram=newcommander.Command();consthelloCommand=program.command('hello');helloCommand.action(async(options)=>{console.log("Hello World");//Works well as return"Hello World";//But this does not work. })
Now I am using Mocha to test the command. PFB Code
I have a file fele.js that specifies all commands that my app needs.
Command Used - Just says hello world when hello is entered.
Now I am using Mocha to test the command. PFB Code
The text was updated successfully, but these errors were encountered: