()
| 92 | } |
| 93 | |
| 94 | export async function loadScenarioSpecs() { |
| 95 | const files = await listMarkdownFiles(path.join(SPEC_ROOT, 'scenarios')); |
| 96 | const specs = []; |
| 97 | for (const file of files) { |
| 98 | const spec = await loadSpec(path.relative(ROOT, file)); |
| 99 | specs.push(spec); |
| 100 | } |
| 101 | return specs; |
| 102 | } |
| 103 | |
| 104 | export async function loadRuleSpecs() { |
| 105 | const files = await listMarkdownFiles(path.join(SPEC_ROOT, 'rules')); |
no test coverage detected