I use Jest with superset for testing working Koa's urls. All test placed in __test__
folder and I testing only request urls from my routes.
How can I use coverage for mark testing routes? Maybe I can use something special comments in routing source file or use some middleware for mark working routes?
Usually test coverage implies which part of code that your test imports was actually executed.
In your case it sounds like you are doing integration testing, and you want to know how many endpoints out of all endpoints are working.
If integration testing is what you really want, you could have an sdk of sorts, and then track line coverage of that. Separate your testing network requests from your integration tests.