Fail tests if the api cannot build
Merge pull request #1813 from jasonLaster/jsdoc6

Fail tests if the api cannot build