Skip to content

Commit e22f57a

Browse files
committed
increase timeout
1 parent 7895fda commit e22f57a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/utils/validate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ function validateConfig(configFile) {
140140
// Sanity check waitForTimeout
141141
if (!Object.hasOwn(storybookConfig, 'waitForTimeout')) {
142142
storybookConfig.waitForTimeout = 0;
143-
} else if (storybookConfig.waitForTimeout <= 0 || storybookConfig.waitForTimeout > 30000) {
144-
console.log('[smartui] Warning: Invalid config, value of waitForTimeout must be > 0 and <= 30000');
143+
} else if (storybookConfig.waitForTimeout <= 0 || storybookConfig.waitForTimeout > 300000) {
144+
console.log('[smartui] Warning: Invalid config, value of waitForTimeout must be > 0 and <= 300000');
145145
console.log('[smartui] If you do not wish to include waitForTimeout parameter, remove it from the config file.');
146146
storybookConfig.waitForTimeout = 0;
147147
}

0 commit comments

Comments
 (0)