Skip to content

Commit 1a2a8ab

Browse files
rafaelscostaclaude
andcommitted
test(ids): expand SCAN_CONFIG count to 15 for new core-docs category
The previous test pinned `SCAN_CONFIG.length` at 14 (10 original + 4 NOG-16A). Adding `core-docs` raises the count to 15. Test name and assertions updated accordingly. Added a type/basePath assertion for the new `core-docs` entry alongside the existing checks. Suite: 96/96 pass (was 95/95 — net unchanged in pass count because the pinning test simply changed its expectation). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cc34030 commit 1a2a8ab

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

tests/core/ids/populate-entity-registry.test.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,8 @@ describe('populate-entity-registry (AC: 3, 4, 12)', () => {
496496
});
497497

498498
describe('SCAN_CONFIG (NOG-16A AC1)', () => {
499-
it('has 14 categories (10 existing + 4 new)', () => {
500-
expect(SCAN_CONFIG).toHaveLength(14);
499+
it('has 15 categories (10 existing + 4 NOG-16A + 1 core-docs)', () => {
500+
expect(SCAN_CONFIG).toHaveLength(15);
501501
const categories = SCAN_CONFIG.map((c) => c.category);
502502
expect(categories).toContain('workflows');
503503
expect(categories).toContain('utils');
@@ -506,6 +506,7 @@ describe('populate-entity-registry (AC: 3, 4, 12)', () => {
506506
expect(categories).toContain('infra-tools');
507507
expect(categories).toContain('product-checklists');
508508
expect(categories).toContain('product-data');
509+
expect(categories).toContain('core-docs');
509510
});
510511

511512
it('preserves all 10 original categories', () => {
@@ -529,6 +530,11 @@ describe('populate-entity-registry (AC: 3, 4, 12)', () => {
529530

530531
const productData = SCAN_CONFIG.find((c) => c.category === 'product-data');
531532
expect(productData.type).toBe('data');
533+
534+
const coreDocs = SCAN_CONFIG.find((c) => c.category === 'core-docs');
535+
expect(coreDocs.type).toBe('docs');
536+
expect(coreDocs.basePath).toContain('core/docs');
537+
expect(coreDocs.glob).toBe('**/*.md');
532538
});
533539
});
534540

0 commit comments

Comments
 (0)