Files
better-auth/integration-tests/bun/index.ts
Bereket Engida e16a289f9e chore: remove examples and dev folder (#3917)
* chore: remove examples

* chore: add integration tests for Bun and Cloudflare environments

- Introduced integration tests for Bun and Cloudflare, including authentication and database setup.
- Updated pnpm workspace configuration to include integration tests.
- Removed example projects and unnecessary dependencies from pnpm-lock.yaml.
- Added .gitignore files for both Bun and Cloudflare integration tests.
- Created necessary configuration files and schemas for database interactions.
- Updated package.json files to include relevant dependencies for integration testing.

* chore: check for navigtaor

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* await docker

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* await isWSL

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* cloudflare checks

* lockfile

* chore: lint

* only run ci on specefic branches

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-08-10 22:55:29 -07:00

8 lines
127 B
TypeScript

import { auth } from "./auth";
Bun.serve({
fetch: auth.handler,
port: 4000,
});
console.log("Server running on port 4000");