Skip to content

test: add scope boundary coverage - #1053

Open
OI1ver wants to merge 1 commit into
typescript-eslint:mainfrom
OI1ver:correxxt/test-scope-boundaries
Open

OI1ver wants to merge 1 commit into
typescript-eslint:mainfrom
OI1ver:correxxt/test-scope-boundaries

Conversation

@OI1ver

@OI1ver OI1ver commented Aug 12, 2026

Copy link
Copy Markdown

Closes #11.

This adds focused coverage for isFunctionScopeBoundary:

  • every function-scope boundary syntax kind;
  • external-module and script source files;
  • a non-boundary block node.

Validation:

  • pnpm test --run src/scopes.test.ts (4 tests passed)
  • ESLint on src/scopes.test.ts
  • pnpm tsc
  • pnpm build

💖

@OI1ver
OI1ver marked this pull request as ready for review August 12, 2026 11:44

This branch has not been deployed

No deployments
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.

🧪 Tests: Add tests for remaining functions in scopes.ts

1 participant