Skip to content

Conversation

@lroskoshin
Copy link
Contributor

@lroskoshin lroskoshin commented Jun 22, 2025

Issues

#29

Description

This pull request introduces support for the Bun test runner, allowing developers to use this library's custom matchers in their Bun-based projects.
The implementation is consistent with the existing setup for Jest and Chai, using expect.extend() to provide matchers like toHaveTransaction, toEqualCell, and more.

Key Changes:

  • Bun Support: A new src/test/bun.ts file has been added to integrate with Bun's test framework.
  • Configuration: package.json has been updated to include bun-types as an optional dependency and a test:bun script for convenience.
  • Documentation: The README.md is updated with clear examples and instructions for using the matchers with Bun.

@lroskoshin lroskoshin mentioned this pull request Jun 22, 2025
krigga
krigga previously approved these changes Jul 29, 2025
feat: add toThrowExitCode bun matcher
krigga
krigga previously approved these changes Aug 4, 2025
@krigga krigga merged commit ffbbddf into ton-org:develop Aug 4, 2025
2 checks passed
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.

2 participants