mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-19 05:02:40 +08:00
always run in testrunner now that cypress is gone
This commit is contained in:
parent
28995ee2c0
commit
18ee55d5dc
@ -39,7 +39,6 @@ program
|
||||
(value, previous) => previous.concat([value]),
|
||||
[]
|
||||
)
|
||||
.option('--test-runner', 'Run Storybook test runner instead of cypress', false)
|
||||
.option('--docs-mode', 'Run Storybook test runner in docs mode', false)
|
||||
.option('--all', `run e2e tests for every framework`, false);
|
||||
program.parse(process.argv);
|
||||
@ -180,9 +179,7 @@ const runTests = async ({ name, ...rest }: Parameters) => {
|
||||
logger.log();
|
||||
|
||||
try {
|
||||
if (shouldUseTestRunner) {
|
||||
await runStorybookTestRunner(options);
|
||||
}
|
||||
await runStorybookTestRunner(options);
|
||||
|
||||
logger.info(`🎉 Storybook is working great with ${name}!`);
|
||||
} catch (e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user