Require release versions for script uploads
CI / checks (push) Successful in 5m26s

This commit is contained in:
2026-10-12 18:46:57 -04:00
parent ffda04f276
commit 2f52dcb1ef
50 changed files with 871 additions and 113 deletions
+9
View File
@@ -108,3 +108,12 @@ it('explains pending automatic downloads and keeps copy errors visible even for
expect(body).toContain('Host report needs review');
expect(body).not.toContain('Ready hosts');
});
it('shows script release versions and explicitly labels historical uploads', () => {
const current = { id: 1, version: 1, release_version: null };
const body = render(LibraryVersions, {
props: { kind: 'script', current, latest: { id: 2, version: 2, release_version: '1.2.0' } }
}).body;
expect(body).toContain('Unversioned (upload 1)');
expect(body).toContain('1.2.0 (upload 2)');
});