From 12452d4ab4e9f1a5687532fa70cf511f44770642 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 13 Jun 2017 11:42:36 +0100 Subject: [PATCH] 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. --- aio/tools/transforms/authors-package/index.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aio/tools/transforms/authors-package/index.spec.js b/aio/tools/transforms/authors-package/index.spec.js index 4666d306ba..e08d0dd5bf 100644 --- a/aio/tools/transforms/authors-package/index.spec.js +++ b/aio/tools/transforms/authors-package/index.spec.js @@ -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); }); \ No newline at end of file