krakenjs / lusca

Application security for express apps.
Other
1.79k stars 122 forks source link

Took error into account on superagent tests #9

Closed lmarkus closed 10 years ago

lmarkus commented 10 years ago

We were using superagent incorrectly.

Since we did not pass along the errors in the end() function, it would always continue to the next test as if it had been successful.

This could have caused false positives / negatives.