From f2a7f6c99971c281d3dd00d0c29d0f3ecda83e71 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 26 Apr 2026 12:00:48 +0200 Subject: [PATCH] Update AGENTS.md (#37420) `make test-sqlite#TestName` was much too slow, suggest `go test`. Also added a similar instruction for js tests. Signed-off-by: silverwind Co-authored-by: Claude (Opus 4.7) Co-authored-by: Nicolas --- AGENTS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index cf8b1539451..fd87f432b71 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,8 +2,8 @@ - Run `make fmt` to format `.go` files, and run `make lint-go` to lint them - Run `make lint-js` to lint `.ts` files - Run `make tidy` after any `go.mod` changes -- Run single go unit tests with `go test -tags 'sqlite sqlite_unlock_notify' -run '^TestName$' ./modulepath/` -- Run single go integration tests with `make 'test-sqlite#TestName/Subtest'` +- Run single go tests with `go test -tags 'sqlite sqlite_unlock_notify' -run '^TestName$' ./modulepath/` +- Run single js test files with `pnpm exec vitest ` - Run single playwright e2e test files with `GITEA_TEST_E2E_FLAGS='' make test-e2e` - Add the current year into the copyright header of new `.go` files - Ensure no trailing whitespace in edited files