Skip to content

6 convert bnid test suite to typescript#7

Merged
dmitrizagidulin merged 3 commits into
mainfrom
6-convert-bnid-test-suite-to-typescript
Sep 25, 2025
Merged

6 convert bnid test suite to typescript#7
dmitrizagidulin merged 3 commits into
mainfrom
6-convert-bnid-test-suite-to-typescript

Conversation

@0marSalah
Copy link
Copy Markdown
Member

Related issue: #6

  • Tests are now TypeScript, executed with Mocha and node:assert. We compile tests (tsconfig.spec.json) and run Mocha against dist
  • bytesFromHex returns Uint8Array (not Buffer). This unifies runtime across Node/browser and fixes strict deep-equality in tests.

@0marSalah 0marSalah self-assigned this Sep 25, 2025
@0marSalah 0marSalah linked an issue Sep 25, 2025 that may be closed by this pull request
Signed-off-by: Dmitri Zagidulin <dzagidulin@gmail.com>
Copy link
Copy Markdown
Member

@dmitrizagidulin dmitrizagidulin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done!

@dmitrizagidulin dmitrizagidulin merged commit 6b66851 into main Sep 25, 2025
2 checks passed
@dmitrizagidulin dmitrizagidulin deleted the 6-convert-bnid-test-suite-to-typescript branch September 25, 2025 16:19
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.

Convert bnid test suite to Typescript

2 participants