(path: string)
| 18 | } |
| 19 | |
| 20 | async function getDocsUrl(path: string): Promise<string> { |
| 21 | // Dynamic import so we get a fresh module with cleared caches. |
| 22 | const { docs } = await import("./docs"); |
| 23 | return docs(path); |
| 24 | } |
| 25 | |
| 26 | it("should preserve RC prerelease and strip build metadata", async () => { |
| 27 | setBuildInfoVersion("v2.32.0-rc.1+abc123"); |