Skip to content

Commit f4aced5

Browse files
committed
Document limitation for type having multiple branches
1 parent f5d85d9 commit f4aced5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ All files | 81.81 | 66.66 | 80 | 88.88 |
2929
The following are known limitations I'm hopeful can be addressed.
3030

3131
- Coverage can only be reported for `*.schema.(json|yaml|yml)` files.
32+
- Keywords can pass/fail for multiple reasons, but not all branches are captured
33+
- Example: `type: ["object", "boolean"]`. If you test with an object and a
34+
number, you've covered pass/fail, but haven't tested that a boolean should
35+
pass.
3236

3337
## Vitest
3438

0 commit comments

Comments
 (0)