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
Ran some coverage tests! They're coming back pretty good!
The main line you want to read is for router.js since that's the one you're really testing with supertest. The others are incidentally invoked. Coverage could be improved by including a supertest for the search query endpoint (q=...) and by using nock to test your request function in the api.js file.
If you want help with that last bit we've managed to rig it up so you can refer to our code or ask us if helpful! :) x
The text was updated successfully, but these errors were encountered:
Ran some coverage tests! They're coming back pretty good!
The main line you want to read is for router.js since that's the one you're really testing with supertest. The others are incidentally invoked. Coverage could be improved by including a supertest for the search query endpoint (
q=...
) and by using nock to test your request function in the api.js file.If you want help with that last bit we've managed to rig it up so you can refer to our code or ask us if helpful! :) x
The text was updated successfully, but these errors were encountered: