undergroundwires
b210aaddf2
Improve script/category name validation
...
- Use better error messages with more context.
- Unify their validation logic and share tests.
- Validate also type of the name.
- Refactor node (Script/Category) parser tests for easier future
changes and cleaner test code (using `TestBuilder` to do dirty work in
unified way).
- Add more tests. Custom `Error` properties are compared manually due to
`chai` not supporting deep equality checks (chaijs/chai#1065 ,
chaijs/chai#1405 ).
2022-03-11 09:56:50 +01:00
..
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-31 17:22:34 +01:00
2022-01-25 08:37:03 +01:00
2022-03-08 18:03:19 +01:00
2022-01-31 17:22:34 +01:00
2022-03-11 09:56:50 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-03-08 18:03:19 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-31 17:22:34 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-31 17:22:34 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-03-11 09:56:50 +01:00
2022-01-25 08:37:03 +01:00
2022-01-31 17:22:34 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-02-26 17:15:30 +01:00
2022-02-26 17:15:30 +01:00
2022-01-25 08:37:03 +01:00
2022-01-31 17:22:34 +01:00
2022-01-31 17:22:34 +01:00
2022-01-31 17:22:34 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-01-31 17:22:34 +01:00
2022-01-25 08:37:03 +01:00
2022-01-25 08:37:03 +01:00
2022-03-08 18:03:19 +01:00
2022-02-26 17:15:30 +01:00