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
Hi @jamesgeorge007 , I've went through the code in init.js and Ava documentation but I'm really confused on how should I begin writing a Unit Test for this teachcode init. There's multiple parts that I don't know how to unit test such as inquire user to input their learning choice, name and Github username, on the creation/cloning of repository, and if the directories is already created.
Can you please provide some guide or how I should be actually writing the unit test for teachcode init. Really sorry, I'm still quite beginner in writing Unit Test. 🙏
As of now, we're missing out on unit tests which is extremely important.
We're using avajs as the test runner.
teachcode init
(@Ian-Yy)teachcode submit
teachcode fetchtask <key>
teachcode showkeys
teachcode showcommands
The text was updated successfully, but these errors were encountered: