HomePhabricator
Diffusion Comm b533fd513aa2

[keyserver] Add password sanitization tests

Description

[keyserver] Add password sanitization tests

Summary: 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.

Test Plan: Run yarn jest

Reviewers: kamil, inka, tomek

Reviewed By: tomek

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D7487

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Apr 17 2023, 6:01 AM
Reviewer
tomek
Differential Revision
D7487: [keyserver] Add password sanitization tests
Parents
rCOMM21c734ccb40a: [keyserver/lib] Improve `tcomb` types
Branches
Unknown
Tags
Unknown