From 135e495540fd2cbeb4f5fe321554231ad4ce9d72 Mon Sep 17 00:00:00 2001 From: garrytan Date: Thu, 5 Nov 2026 23:37:30 +0000 Subject: [PATCH] test: name the QM edition's manifest and shipped script Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/qm-edition.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/qm-edition.test.ts b/test/qm-edition.test.ts index edee9f4f3..9e74284ce 100644 --- a/test/qm-edition.test.ts +++ b/test/qm-edition.test.ts @@ -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', () => {