test(3589): assert empty-string workstream fallback

This commit is contained in:
Tom Boucher
2026-05-15 22:58:36 -04:00
parent a2967bfa24
commit 11a6d3fdd6

View File

@@ -39,6 +39,7 @@ describe('bug #3589: relPlanningPath rejects path-traversal and invalid workstre
it('returns .planning when workstream is omitted (unchanged)', () => {
expect(relPlanningPath()).toBe('.planning');
expect(relPlanningPath(undefined)).toBe('.planning');
expect(relPlanningPath('')).toBe('.planning');
});
it('returns .planning/workstreams/<name> for valid workstream names (unchanged)', () => {