The sanitizeInput function will be abstracted by a general function implementing a visitor pattern (which we will also use for the server_id<->client_id conversion function) in the later diffs. This diff adds some tests so we can check that the behaviour doesn't change.
Details
Details
- Reviewers
kamil inka tomek - Commits
- rCOMMb533fd513aa2: [keyserver] Add password sanitization tests
Run yarn jest
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
keyserver/src/utils/validation-utils.js | ||
---|---|---|
64 | Thanks for getting rid of the * Is it possible to type this any better? |