Skip to content

Switch to vitest - #78

Closed
borgar wants to merge 3 commits into
masterfrom
vitest
Closed

Switch to vitest#78
borgar wants to merge 3 commits into
masterfrom
vitest

Conversation

@borgar

@borgar borgar commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Switch the test suite from tape to vitest

@borgar borgar mentioned this pull request Sep 3, 2026
@borgar

borgar commented Sep 3, 2026

Copy link
Copy Markdown
Owner Author

Changes are included in #80

@borgar borgar closed this Sep 3, 2026
borgar added a commit that referenced this pull request Sep 3, 2026
- Port the project to TS
- Use vitest as the test runner (#78)
- Use typedoc to generate documentation
- Clean up interfaces
  - Methods now return `undefined` where they previously returned `null``
  - Token type values are now uppercase:`'zero'` became `'ZERO'`.
  - `tokenTypes` was removed, replaced by 34 importable `TOKEN_*` constants.
  - The CONDITION token `value` changed from `['>=', '10']` to `'>=10'`.
  - Locales are now dash delimited rather than underscore: `"fi-FI"` instead of `"fi_FI"`.
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