(specPath: string, specId: string)
| 21 | } |
| 22 | |
| 23 | function parseSpecFromFile(specPath: string, specId: string): Spec { |
| 24 | const content = readFileSync(specPath, 'utf-8'); |
| 25 | const parser = new MarkdownParser(content); |
| 26 | return parser.parseSpec(specId); |
| 27 | } |
| 28 | |
| 29 | function validateRequirementIndex(spec: Spec, requirementOpt?: string): number | undefined { |
| 30 | if (!requirementOpt) return undefined; |
no test coverage detected