|
@@ -235,6 +235,7 @@ describe('Example Documents', function() {
|
|
|
) === 'failure'
|
|
) === 'failure'
|
|
|
) {
|
|
) {
|
|
|
console.log('DEBUG: error', error, 'body', JSON.stringify(body))
|
|
console.log('DEBUG: error', error, 'body', JSON.stringify(body))
|
|
|
|
|
+ return done(new Error('Compile failed'))
|
|
|
}
|
|
}
|
|
|
const pdf = Client.getOutputFile(body, 'pdf')
|
|
const pdf = Client.getOutputFile(body, 'pdf')
|
|
|
return downloadAndComparePdf(
|
|
return downloadAndComparePdf(
|
|
@@ -263,6 +264,7 @@ describe('Example Documents', function() {
|
|
|
) === 'failure'
|
|
) === 'failure'
|
|
|
) {
|
|
) {
|
|
|
console.log('DEBUG: error', error, 'body', JSON.stringify(body))
|
|
console.log('DEBUG: error', error, 'body', JSON.stringify(body))
|
|
|
|
|
+ return done(new Error('Compile failed'))
|
|
|
}
|
|
}
|
|
|
const pdf = Client.getOutputFile(body, 'pdf')
|
|
const pdf = Client.getOutputFile(body, 'pdf')
|
|
|
return downloadAndComparePdf(
|
|
return downloadAndComparePdf(
|