We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b41fc53 commit f203eacCopy full SHA for f203eac
1 file changed
CLAUDE.md
@@ -37,8 +37,11 @@ Use `runCommand()` from `src/lib/run-command.ts` to wrap command handlers — it
37
38
## Tests
39
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
+
43
- Unit tests: `tests/unit/` — run with `bun test`
-- 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.
45
- The UI module has a built-in mock system (`src/ui/mock.ts`) — use it instead of mocking stdout directly.
46
47
## Documentation
0 commit comments