Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .claude/rules/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ await app.listen(3030);
- Dynamic port (`0`) avoids port conflicts between parallel tests
- Explicit `httpServer.close()` prevents open handle warnings

## TestHelper Reference

Full documentation for TestHelper (REST, GraphQL, Cookie support):
`src/test/README.md` (also available in `node_modules/@lenne.tech/nest-server/src/test/README.md`)

## Common Test Issues

- **Tests timeout**: Ensure MongoDB is running
Expand Down
6 changes: 3 additions & 3 deletions migration-guides/11.11.x-to-11.12.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
| **Breaking Changes** | Cookie structure simplified, `better-auth.session_token` removed |
| **New Features** | Auto AppName detection, Token analysis helpers, Cookie-Mode/JWT-Mode dual support |
| **Bugfixes** | Passkey/2FA now works correctly in both Cookie and JWT modes |
| **Migration Effort** | Low (~10 minutes) - Only if accessing cookies directly |
| **Migration Effort** | Low (~10 minutes) - Cookie access changes |

---

Expand Down Expand Up @@ -277,7 +277,7 @@ betterAuth: {
The following are now exported from `@lenne.tech/nest-server`:

```typescript
// Token analysis helpers (11.12.0)
// Token analysis helpers
export {
analyzeToken,
getUserIdFromToken,
Expand All @@ -289,7 +289,7 @@ export {
TokenType,
} from './core/modules/better-auth/core-better-auth-token.helper';

// Cookie helper (11.12.0)
// Cookie helper
export {
AUTH_COOKIE_NAMES,
AuthCookieOptions,
Expand Down
Loading