Skip to content

test: add regression tests for 44 closed GitHub issues#414

Merged
jonluca merged 1 commit intomainfrom
jonluca/closed-issue-tests
Feb 28, 2026
Merged

test: add regression tests for 44 closed GitHub issues#414
jonluca merged 1 commit intomainfrom
jonluca/closed-issue-tests

Conversation

@jonluca
Copy link
Member

@jonluca jonluca commented Feb 28, 2026

Summary

Add 52 comprehensive regression tests covering 44 historical closed GitHub issues across 10 categories including circular references, root-level $refs, bundle operations, dereference operations, JSON Pointer handling, external references, error handling, custom resolvers, OpenAPI patterns, and miscellaneous edge cases.

Test Coverage

Verification

All 350 existing tests pass, 6 pre-existing skips remain. TypeScript and ESLint checks pass with no issues.

Add 52 test cases covering 44 closed GitHub issues across 10 categories:
- Circular reference handling (9 tests)
- Root-level $ref resolution (8 tests)
- Bundle operations (4 tests)
- Dereference operations (4 tests)
- JSON Pointer handling (5 tests)
- External references (2 tests)
- Error handling (2 tests)
- And 6 more categories

Tests validate the current behavior of fixed issues and document
expected behavior for issues that remain open. Includes 12 fixture
files for testing external file resolution and complex schemas.

All tests pass. Full test suite: 350 tests passing, 6 skipped.
@jonluca jonluca merged commit 3d93948 into main Feb 28, 2026
13 checks passed
@jonluca jonluca deleted the jonluca/closed-issue-tests branch February 28, 2026 19:07
@github-actions
Copy link

Pull Request Test Coverage Report for Build 22527068386

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 86.909%

Totals Coverage Status
Change from base Build 22526771773: 0.2%
Covered Lines: 1001
Relevant Lines: 1118

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant