build(aio): increase docs integration test timeouts

The API docs tests have very variable run times, depending
upon the build environment.
This change doubles their test timeout values to prevent
false-negative failures.
This commit is contained in:
Peter Bacon Darwin 2017-06-13 11:42:36 +01:00 committed by Pete Bacon Darwin
parent 709a3f6de7
commit 12452d4ab4
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ const {resolve} = require('canonical-path');
const {generateDocs} = require('./index.js');
const { DOCS_OUTPUT_PATH } = require('../config');
describe('authors-package', () => {
describe('authors-package (integration tests)', () => {
let files;
beforeEach(() => {
@ -71,7 +71,7 @@ describe('authors-package', () => {
expect(files).toContain(resolve(DOCS_OUTPUT_PATH, 'api/forms/FormBuilder.json'));
done();
});
}, 8000);
}, 16000);
it('should generate API doc if the "fileChanged" is an API example', (done) => {
generateDocs('packages/examples/forms/ts/formBuilder/form_builder_example.ts', { silent: true }).then(() => {
@ -79,5 +79,5 @@ describe('authors-package', () => {
expect(files).toContain(resolve(DOCS_OUTPUT_PATH, 'api/forms/FormBuilder.json'));
done();
});
}, 8000);
}, 16000);
});