HomePhabricator
Diffusion Comm 8a48d2c36145

[lib] Introduce raw message info validators

Description

[lib] Introduce raw message info validators

Summary:
Add validators for RawMessageInfo and inner types and tests for each message type. In tests all message examples are taken from the app except for change role, unsupported, edit message and pin message which I wrote manually.

Depends on D7566

Test Plan: Run yarn jest

Reviewers: kamil, inka, tomek

Reviewed By: tomek

Subscribers: ashoat, atul

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

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Apr 20 2023, 2:52 AM
Reviewer
tomek
Differential Revision
D7567: [lib] Introduce raw message info validators
Parents
rCOMM2fdf3e65426e: [lib] Introduce media validators
Branches
Unknown
Tags
Unknown