Browse Source

ignore: update agents.md (#33446)

Aiden Cline 1 month ago
parent
commit
34b3d59a23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AGENTS.md

+ 1 - 1
AGENTS.md

@@ -137,7 +137,7 @@ const table = sqliteTable("session", {
 
 ## Testing
 
-- Avoid mocks as much as possible
+- Avoid mocks as much as possible, you shouldn't be using globalThis.\* at all unless it's the only option.
 - Test actual implementation, do not duplicate logic into tests
 - Tests cannot run from repo root (guard: `do-not-run-tests-from-root`); run from package dirs like `packages/opencode`.