Skip to content

Commit 2e6bb0a

Browse files
rushikeshmoreclaude
andcommitted
test: make language count dynamic — no hardcoded numbers
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e2034eb commit 2e6bb0a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/extraction/parser.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ describe('languageFromPath', () => {
6969
})
7070

7171
describe('supportedLanguages', () => {
72-
it('returns all 27 supported languages', () => {
72+
it('returns a non-empty list with core languages', () => {
7373
const langs = supportedLanguages()
74-
expect(langs.length).toBe(27)
74+
expect(langs.length).toBeGreaterThan(0)
75+
// Core languages that should always be present
7576
expect(langs).toContain('typescript')
7677
expect(langs).toContain('python')
7778
expect(langs).toContain('go')

0 commit comments

Comments
 (0)