unjs / citty

🌆 Elegant CLI Builder
Other
729 stars 23 forks source link

test: improve test coverage #33

Open NozomuIkuta opened 1 year ago

NozomuIkuta commented 1 year ago

Describe the feature

I found that Citty has no test at the moment. It's better to have at least unit tests so that we can accept new features and bug fixes from the community as well as unjs members.

I created this issue just for making the situation clear and trackable.

@pi0

Perhaps, are you postponing test implementation based one some thoughts? If not, I will start working on this issue from adding unit tests.

Additional information

Barbapapazes commented 2 months ago

Hey 👋,

This is a good idea. I've submitted 2 PRs to improve confidence in args and usage:

I'm sure we can go further by testing commands and more!