node-skeleton icon indicating copy to clipboard operation
node-skeleton copied to clipboard

support endpoint test

Open ziofat opened this issue 7 years ago • 3 comments

ava has no built-in endpoint test capability.

ziofat avatar Dec 05 '18 04:12 ziofat

@ziofat Are you talking about adding endpoint testing to the boilerplate? If yes, I would say it is more of an implementation detail - you can install axios or any other library and do the same testing which you are doing right now - or am I wrong in my understanding?

tvvignesh avatar Dec 05 '18 18:12 tvvignesh

The current test case is totally fake. It should match the current routes like "/hello", which makes the boilerplate complete and self-consistent.

ziofat avatar Dec 06 '18 03:12 ziofat

@ziofat Got it! I will add the real test cases in the next release.

tvvignesh avatar Dec 06 '18 11:12 tvvignesh