Add API tests to the controllers (api/controllers) in the scout application including:
admin.js
commands.js
devices.js
patches.js
reports.js
servers.js
user.js
webhooks.js
Pull Request Ready When:
All of the above files have ~70% line coverage with valid and useful assertions to ensure data is correct. These API tests should also ensure the integrity of the data returned from these endpoints.
Resources:
Consider using one of the following test frameworks:
Add API tests to the controllers (
api/controllers
) in the scout application including:Pull Request Ready When:
Resources: Consider using one of the following test frameworks: