Skip to content

Conversation

@janhesters
Copy link
Collaborator

Summary

  • Add riteway/bun adapter that provides the familiar assert API with Bun's fast, built-in test runner
  • Include TypeScript type definitions (bun.d.ts)
  • Add comprehensive tests for the Bun adapter
  • Update README with Bun usage documentation and examples

Test plan

  • Run bun test source/bun.test.js to verify the adapter works correctly
  • Verify TypeScript types work with import { test, describe, assert } from 'riteway/bun'
  • Test failure output includes given and should context

🤖 Generated with Claude Code

@janhesters janhesters self-assigned this Jan 27, 2026
@janhesters janhesters force-pushed the feat/bun-test-support branch from a845ed3 to 4f8226a Compare January 27, 2026 09:58
Add riteway/bun adapter that provides the familiar assert API with
Bun's fast, built-in test runner. Uses expect.extend to create a
custom matcher for proper error messages with given/should context.

Includes:
- setupRitewayBun() to register the custom matcher
- assert() function with required keys validation
- TypeScript definitions
- Tests and README documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@janhesters janhesters force-pushed the feat/bun-test-support branch from 4f8226a to 10d79f9 Compare January 27, 2026 09:59
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