Skip to content

test: expand token utility coverage - #1052

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

OI1ver wants to merge 1 commit into
typescript-eslint:mainfrom
OI1ver:correxxt/test-token-helpers

Conversation

@OI1ver

@OI1ver OI1ver commented Aug 12, 2026

Copy link
Copy Markdown

Closes #9.

This adds focused coverage for token utilities that was missing from tokens.test.ts:

  • token order through a nested expression;
  • direct iteration of a token node;
  • the default source-file path in forEachToken.

Validation:

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

💖

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

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 tokens.ts

1 participant