Skip to content

Commit 7166b32

Browse files
[DC] Ignore config for integration tests
1 parent 02b4408 commit 7166b32

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

services/document_conversion/v1-experimental.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ var omit = require('object.omit');
2323

2424
function DocumentConversion(options) {
2525
// Warn if not specifying version date
26-
var version_date = "2015-12-01"
26+
var version_date = '2015-12-01';
2727
if(options && options.version_date) {
28-
version_date = options.version_date
28+
version_date = options.version_date;
2929
} else {
30-
console.warn("[DocumentConversion] WARNING: No version_date specified. Using a (possibly old) default. " +
31-
"e.g. watson.document_conversion({ version_date: '2015-12-01' })")
30+
console.warn('[DocumentConversion] WARNING: No version_date specified. Using a (possibly old) default. ' +
31+
'e.g. watson.document_conversion({ version_date: "2015-12-01" })');
3232
}
3333

3434
// Default URL

test/test.integration-all-services.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -593,14 +593,14 @@ describe('integration-all-services', function() {
593593
document_conversion.convert({
594594
file: fs.createReadStream(__dirname + '/resources/sampleWORD.docx'),
595595
conversion_target: 'ANSWER_UNITS',
596-
word: {
597-
heading: {
598-
fonts: [
599-
{ level: 1, min_size: 24 },
600-
{ level: 2, min_size: 16, max_size: 24 }
601-
]
602-
}
603-
}
596+
// word: {
597+
// heading: {
598+
// fonts: [
599+
// { level: 1, min_size: 24 },
600+
// { level: 2, min_size: 16, max_size: 24 }
601+
// ]
602+
// }
603+
// }
604604
}, failIfError.bind(failIfError, done));
605605
});
606606
});

0 commit comments

Comments
 (0)