@clipboard-health/ai-rules 2.0.10 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rules/common/testing.md +1 -2
package/package.json
CHANGED
package/rules/common/testing.md
CHANGED
|
@@ -6,8 +6,7 @@ Use when: error handling hard to trigger black-box, concurrency scenarios, >5 va
|
|
|
6
6
|
|
|
7
7
|
## Conventions
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- Use `it` over `test` for test case declarations
|
|
10
10
|
- `describe` for grouping
|
|
11
11
|
- Arrange-Act-Assert with newlines between
|
|
12
12
|
- Variables: `mockX`, `input`, `expected`, `actual`
|
|
13
|
-
- Prefer `it.each` for multiple cases
|