This PR adds some mocha tests for Active Response endpoints:
# mocha test/test_active_response.js
Active Response
PUT/active-response/:agent_id
✓ Request (316ms)
✓ Command not found (322ms)
✓ Agent does not exist (340ms)
✓ Agent ID not valid
4 passing (1s)
Hello team,
This PR adds some mocha tests for Active Response endpoints:
The tests are made for changes done at https://github.com/wazuh/wazuh/pull/3046.
Best regards, Marta