mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
dev: update agents.md, add bb e2e-test cmds
This commit is contained in:
14
AGENTS.md
14
AGENTS.md
@@ -12,16 +12,20 @@
|
||||
- `deps/`: Internal dependencies/modules
|
||||
- `clj-e2e/`: End to end test code
|
||||
|
||||
## Common used cljs keywords
|
||||
- All commonly used ClojureScript keywords are defined using `logseq.common.defkeywords/defkeyword`.
|
||||
- Search for `defkeywords` to find all the definitions.
|
||||
|
||||
## Testing Commands
|
||||
- Run linters and unit-tests: `bb dev:lint-and-test`
|
||||
- Run single focused unit-test:
|
||||
- Add the `:focus` keyword to the test case: `(deftest ^:focus test-name ...)`
|
||||
- `bb dev:test -i focus`
|
||||
|
||||
- Run e2e basic tests:
|
||||
- `bb dev:e2e-basic-test`
|
||||
- Run e2e rtc extra tests:
|
||||
- `bb dev:e2e-rtc-extra-test`
|
||||
|
||||
## Common used cljs keywords
|
||||
- All commonly used ClojureScript keywords are defined using `logseq.common.defkeywords/defkeyword`.
|
||||
- Search for `defkeywords` to find all the definitions.
|
||||
|
||||
## Code Guidance
|
||||
- Keep in mind: @prompts/review.md
|
||||
|
||||
|
||||
Reference in New Issue
Block a user