()
| 40 | } |
| 41 | |
| 42 | async function collectFiles() { |
| 43 | const base = toPosix(path.join(rootDir, "samples")); |
| 44 | const pattern = options.filter ? `${base}/${options.filter}/**/*.html` : `${base}/**/*.html`; |
| 45 | return (await glob(pattern)).sort(); |
| 46 | } |
| 47 | |
| 48 | async function runSmoke(browser, state) { |
| 49 | while (state.index < state.files.length) { |