Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .FixtureRefresher/sync.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Fixture Synchronization Log

| Date | Aligned Schemas | Altered Mock Files | Validation Compliance Rating |
| :--------- | :--------------------------- | :------------------------------------ | :--------------------------- |
| 2026-05-28 | Repository Versioning (Mock) | src/**tests**/github-releases.test.ts | 100% |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Correct the file path to match the actual location.

The path src/**tests**/github-releases.test.ts uses incorrect glob-style notation. Based on the actual file location, it should be src/__tests__/github-releases.test.ts.

📝 Proposed fix
-| 2026-05-28 | Repository Versioning (Mock) | src/**tests**/github-releases.test.ts | 100%                         |
+| 2026-05-28 | Repository Versioning (Mock) | src/__tests__/github-releases.test.ts | 100%                         |
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
| 2026-05-28 | Repository Versioning (Mock) | src/**tests**/github-releases.test.ts | 100% |
| 2026-05-28 | Repository Versioning (Mock) | src/__tests__/github-releases.test.ts | 100% |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.FixtureRefresher/sync.md at line 5, Update the incorrect glob-style path in
the markdown table: replace the entry "src/**tests**/github-releases.test.ts"
with the correct directory name "src/__tests__/github-releases.test.ts" so the
file path matches the actual test location referenced in the table row
containing that path.

14 changes: 7 additions & 7 deletions src/__tests__/github-releases.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ describe('github releases utility', () => {
normalizeRelease({
body: '- feat: add release feed',
html_url: 'https://github.com/example/release',
name: '2026.04.06.1400',
name: '2026.05.28.0401',
published_at: '2026-04-06T14:00:00Z',
tag_name: '2026.04.06.1400',
tag_name: '2026.05.28.0401',
})
).toEqual({
body: '- feat: add release feed',
publishedAt: '2026-04-06T14:00:00Z',
title: '2026.04.06.1400',
title: '2026.05.28.0401',
url: 'https://github.com/example/release',
version: '2026.04.06.1400',
version: '2026.05.28.0401',
});
});

Expand All @@ -38,17 +38,17 @@ describe('github releases utility', () => {
json: async () => [
{ draft: true, tag_name: 'draft-release' },
{ prerelease: true, tag_name: 'beta-release' },
{ body: '- feat: ship', html_url: RELEASES_PAGE_URL, tag_name: '2026.04.06.1400' },
{ body: '- feat: ship', html_url: RELEASES_PAGE_URL, tag_name: '2026.05.28.0401' },
],
});

await expect(fetchGitHubReleases(fetchMock as typeof fetch)).resolves.toEqual([
{
body: '- feat: ship',
publishedAt: null,
title: '2026.04.06.1400',
title: '2026.05.28.0401',
url: RELEASES_PAGE_URL,
version: '2026.04.06.1400',
version: '2026.05.28.0401',
},
]);
});
Expand Down
Loading