(text: string)
| 46 | export const RUNS_DIR = fileURLToPath(new URL("../runs/", import.meta.url)); |
| 47 | |
| 48 | export const slugify = (text: string): string => |
| 49 | text |
| 50 | .toLowerCase() |
| 51 | .replace(/[^a-z0-9]+/g, "-") |
| 52 | .replace(/^-+|-+$/g, "") |
| 53 | .slice(0, 80); |
| 54 | |
| 55 | export interface ScenarioOptions { |
| 56 | readonly timeout?: number; |