HomePhabricator
Diffusion Comm eab4e254cf47

[lib] Introduce basic unit tests for `ThreadOpsUtils`

Description

[lib] Introduce basic unit tests for ThreadOpsUtils

Summary:
Depends on D7300


Mostly a sanity test that convertRawThreadInfoToClientDBThreadInfo and convertClientDBThreadInfoToRawThreadInfo are inverse functions with/without avatar field included.

Test Plan: yarn test and they succeed

Reviewers: ashoat, ginsu

Reviewed By: ginsu

Subscribers: tomek

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

Details

Provenance
atulAuthored on Apr 4 2023, 1:20 PM
Reviewer
ginsu
Differential Revision
D7303: [lib] Introduce basic unit tests for `ThreadOpsUtils`
Parents
rCOMMafc6a825b2f5: [web] Introduce types for identity service communication
Branches
Unknown
Tags
Unknown