Skip to content

Commit f203eac

Browse files
Update Claude.md
1 parent b41fc53 commit f203eac

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

CLAUDE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ Use `runCommand()` from `src/lib/run-command.ts` to wrap command handlers — it
3737

3838
## Tests
3939

40+
Please try to create integration tests in priority. If the test is too complicated to set up, write unit tests.
41+
Try to get inspiration from other tests to follow the same structure.
42+
4043
- Unit tests: `tests/unit/` — run with `bun test`
41-
- Integration tests: `tests/integration/` — require env vars, skipped locally by default
44+
- Integration tests: `tests/integration/` — require env vars. They are using a harness to help set up tests and make assertions.
4245
- The UI module has a built-in mock system (`src/ui/mock.ts`) — use it instead of mocking stdout directly.
4346

4447
## Documentation

0 commit comments

Comments
 (0)