You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(spdx): Make the schema validation more strict
The previously used schema validation of kotest lacks support for a
couple of features, such as enums, see [1]. The validation would not
flag issues with wrong values for the category of external references,
for example `PACKAGE_MANAGER` vs. `PACKAGE-MANAGER`.
Make use of `matchJsonSchema()` to also cover enum checks with the
assertion.
[1]: https://github.com/networknt/json-schema-validator/blob/master/README.md
Signed-off-by: Frank Viernau <[email protected]>
0 commit comments