fix(storybook): increase timeout of flaky test (#15947)

This commit is contained in:
Katerina Skroumpelou 2023-03-29 12:18:08 +03:00 committed by GitHub
parent d20bf770ef
commit 9e9623e309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,13 +57,13 @@ describe('Storybook generators and executors for monorepos', () => {
} }
); );
p.kill(); p.kill();
}, 20000); }, 50000);
it('should build a React based storybook setup that uses webpack', () => { it('should build a React based storybook setup that uses webpack', () => {
// build // build
runCLI(`run ${reactStorybookLib}:build-storybook --verbose`); runCLI(`run ${reactStorybookLib}:build-storybook --verbose`);
checkFilesExist(`dist/storybook/${reactStorybookLib}/index.html`); checkFilesExist(`dist/storybook/${reactStorybookLib}/index.html`);
}, 40000); }, 50000);
// This test makes sure path resolution works // This test makes sure path resolution works
it('should build a React based storybook that references another lib and uses webpack', () => { it('should build a React based storybook that references another lib and uses webpack', () => {
@ -117,6 +117,6 @@ describe('Storybook generators and executors for monorepos', () => {
// build React lib // build React lib
runCLI(`run ${reactStorybookLib}:build-storybook --verbose`); runCLI(`run ${reactStorybookLib}:build-storybook --verbose`);
checkFilesExist(`dist/storybook/${reactStorybookLib}/index.html`); checkFilesExist(`dist/storybook/${reactStorybookLib}/index.html`);
}, 40000); }, 50000);
}); });
}); });