chore: add regression test instruction for Claude (#7809)

This commit is contained in:
Taesu
2026-02-06 05:55:38 +09:00
committed by GitHub
parent 5a8e1c0a0f
commit 72fbffa0ce

View File

@@ -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