* Test helper to check if output does NOT contain unexpected content
(content, unexpected, testName)
| 38 | * Test helper to check if output does NOT contain unexpected content |
| 39 | */ |
| 40 | function assertNotContains(content, unexpected, testName) { |
| 41 | if (content.includes(unexpected)) { |
| 42 | console.error(`❌ FAIL: ${testName}`); |
| 43 | console.error(` Expected NOT to find: "${unexpected}"`); |
| 44 | return false; |
| 45 | } |
| 46 | console.log(`✓ PASS: ${testName}`); |
| 47 | return true; |
| 48 | } |
| 49 | |
| 50 | // Run the schema doc generator |
| 51 | console.log("Running schema documentation generator..."); |
no test coverage detected