Skip to content

test: expand token utility coverage - #1052

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

test: expand token utility coverage#1052
Correxxt wants to merge 1 commit into
typescript-eslint:mainfrom
Correxxt:correxxt/test-token-helpers

Conversation

@Correxxt

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

馃挅

@Correxxt
Correxxt marked this pull request as ready for review August 12, 2026 11:24
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