mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-22 22:32:01 -05:00
chore: add regression test instruction for Claude (#7809)
This commit is contained in:
10
CLAUDE.md
10
CLAUDE.md
@@ -58,6 +58,16 @@ run specific tests.
|
||||
* Adapter tests require Docker containers running (`docker compose up -d`)
|
||||
* Consider using test helpers like `getTestInstance()` from
|
||||
`better-auth/test` first
|
||||
* If a test is to prevent regression of a specific numbered GitHub issue,
|
||||
add a JSDoc `@see` comment with the issue URL above the `it()` or `describe()`:
|
||||
```typescript
|
||||
/**
|
||||
* @see https://github.com/better-auth/better-auth/issues/{issue_number}
|
||||
*/
|
||||
it("should handle the previously broken behavior", async () => {
|
||||
// ...
|
||||
});
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user