Introduce validators for the outputs of the responders in user-responders.js and for all inner types. Values for tests are generated by printing the example output values of the responders.
Depends on D7571
Differential D7572
[lib] Introduce user responder validators michal on Apr 21 2023, 8:18 AM. Authored by Tags None Referenced Files
Details
Introduce validators for the outputs of the responders in user-responders.js and for all inner types. Values for tests are generated by printing the example output values of the responders. Depends on D7571 Run yarn jest
Diff Detail
Event TimelineComment Actions Haven't compared validators with the types as it is more time consuming here than in other diffs, where the Flow types were next to tComb ones. If you could make comments with the Flow types, I would take another look.
Comment Actions Fixed test naming and long lines. Added flow types in the inline comments.
Comment Actions Add subscriptionUpdateResponseValidator because I missed it, and move logOutResponseValidator higher because it will be used earlier (must be declared before it can be used). |