Overdrivr / micro-ci

Continuous Integration for embedded platforms
0 stars 0 forks source link

Detailed assertions for nocked POST endpoints #85

Open Overdrivr opened 8 years ago

Overdrivr commented 8 years ago

Providing a long payload to a post endpoint when using nock, like in this case

https://github.com/Overdrivr/micro-ci/blob/master/test/unit/jenkins_test.js#L29

is hard to debug in case it doesn't perfectly match. Is there a way to provide a function instead and do detailled assertions ?