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:
parent
709a3f6de7
commit
12452d4ab4
|
@ -3,7 +3,7 @@ const {resolve} = require('canonical-path');
|
||||||
const {generateDocs} = require('./index.js');
|
const {generateDocs} = require('./index.js');
|
||||||
const { DOCS_OUTPUT_PATH } = require('../config');
|
const { DOCS_OUTPUT_PATH } = require('../config');
|
||||||
|
|
||||||
describe('authors-package', () => {
|
describe('authors-package (integration tests)', () => {
|
||||||
let files;
|
let files;
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
@ -71,7 +71,7 @@ describe('authors-package', () => {
|
||||||
expect(files).toContain(resolve(DOCS_OUTPUT_PATH, 'api/forms/FormBuilder.json'));
|
expect(files).toContain(resolve(DOCS_OUTPUT_PATH, 'api/forms/FormBuilder.json'));
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
}, 8000);
|
}, 16000);
|
||||||
|
|
||||||
it('should generate API doc if the "fileChanged" is an API example', (done) => {
|
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(() => {
|
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'));
|
expect(files).toContain(resolve(DOCS_OUTPUT_PATH, 'api/forms/FormBuilder.json'));
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
}, 8000);
|
}, 16000);
|
||||||
});
|
});
|
Loading…
Reference in New Issue