(raw, source)
| 304 | } |
| 305 | |
| 306 | function validateString(raw, source) { |
| 307 | if (typeof raw !== "string" || raw.length === 0) { |
| 308 | throw new Error(`${source} must be a non-empty string`); |
| 309 | } |
| 310 | return raw; |
| 311 | } |
| 312 | |
| 313 | function assertRequiredFrameFillVariants(requiredScenarios) { |
| 314 | const keys = new Set(requiredScenarios.map((d) => d.key)); |
no outgoing calls
no test coverage detected