(method: Method, path: string, name: string, reason: string)
| 187 | } |
| 188 | |
| 189 | export const pending = (method: Method, path: string, name: string, reason: string): TodoScenario => ({ |
| 190 | kind: "todo", |
| 191 | method, |
| 192 | path, |
| 193 | name, |
| 194 | reason, |
| 195 | }) |
| 196 | |
| 197 | export function route(template: string, params: Record<string, string>) { |
| 198 | return Object.entries(params).reduce( |