mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-21 12:20:48 +02:00
add gstack 2 parity and lifecycle gates
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { expect, test } from 'bun:test';
|
||||
import * as path from 'node:path';
|
||||
|
||||
const ROOT = path.resolve(import.meta.dir, '..');
|
||||
|
||||
test('skill:check accepts the six-skill package without reviving retired monoliths', () => {
|
||||
const result = Bun.spawnSync(['bun', 'run', 'scripts/skill-check.ts'], {
|
||||
cwd: ROOT,
|
||||
stdout: 'pipe',
|
||||
stderr: 'pipe',
|
||||
});
|
||||
const output = `${result.stdout.toString()}${result.stderr.toString()}`;
|
||||
expect(result.exitCode).toBe(0);
|
||||
expect(output).toContain('exactly six dispatchers (debug, design, plan, qa, review, ship)');
|
||||
expect(output).toContain('monolith output retired by GStack 2');
|
||||
expect(output).not.toContain('generated file missing');
|
||||
});
|
||||
Reference in New Issue
Block a user