test: name the QM edition's manifest and shipped script

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-11-05 23:37:30 +00:00
1 parent 85e751e8c5
commit 135e495540
1 file changed
+3
+3
View File
@@ -14,6 +14,9 @@ const skillFiles = (id: string) => new Map([...edition].filter(([f]) => f.starts
describe('QM edition (hosts/qm.ts)', () => {
test('committed qm/ matches the generator (run: bun run scripts/gen-qm-edition.ts)', () => {
expect(staleQmFiles()).toEqual([]);
expect(JSON.parse(fs.readFileSync(path.join(ROOT, 'qm/edition.json'), 'utf-8')).edition).toBe('gstack-qm');
expect(fs.readFileSync(path.join(ROOT, 'qm/sandbox/skills/gstack-review/scripts/diff-base.sh'), 'utf-8'))
.toBe(fs.readFileSync(path.join(ROOT, 'hosts/qm/scripts/diff-base.sh'), 'utf-8'));
});
test('every shipped file fits QM\'s inline read cap, and descriptions fit its skills index', () => {