(entry = `- [Rule](${githubRulesPrefix()}example.mdc) - Example rule content.\n`)
| 26 | } |
| 27 | |
| 28 | function validReadme(entry = `- [Rule](${githubRulesPrefix()}example.mdc) - Example rule content.\n`) { |
| 29 | return `# Awesome Cursor Rules [](https://awesome.re) |
| 30 | |
| 31 | Project-specific configuration files for Cursor AI. |
| 32 | |
| 33 | ## Contents |
| 34 | |
| 35 | - [Rules](#rules) |
| 36 | - [Frontend Frameworks and Libraries](#frontend-frameworks-and-libraries) |
| 37 | |
| 38 | ## Rules |
| 39 | |
| 40 | ### Frontend Frameworks and Libraries |
| 41 | |
| 42 | ${entry}`; |
| 43 | } |
| 44 | |
| 45 | test("passes an Awesome-ready README shape", () => { |
| 46 | const root = makeFixture(); |
no test coverage detected