always run in testrunner now that cypress is gone

This commit is contained in:
Norbert de Langen 2022-10-03 18:13:00 +02:00
parent 28995ee2c0
commit 18ee55d5dc
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762

View File

@ -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) {