Page MenuHomePhabricator

[lib] Introduce basic tests for `SET_MESSAGE_STORE_MESSAGES` action
ClosedPublic

Authored by atul on Jul 18 2022, 1:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 12:25 AM
Unknown Object (File)
Mon, Dec 16, 12:25 AM
Unknown Object (File)
Mon, Dec 16, 12:25 AM
Unknown Object (File)
Mon, Dec 16, 12:25 AM
Unknown Object (File)
Mon, Dec 16, 12:25 AM
Unknown Object (File)
Mon, Dec 16, 12:25 AM
Unknown Object (File)
Sat, Dec 14, 8:29 PM
Unknown Object (File)
Wed, Nov 27, 6:48 AM

Details

Summary

Had trouble debugging D4508 because I couldn't "attach" debugger to hermes in time for message-reducer.js:SET_MESSAGE_STORE_MESSAGES to hit.

Ended up testing via console.log(...) and pasting values into a text file to ensure that things were as expected. The stuff I jotted down lent itself well to writing basic unit tests so figured I might as well put it up.


Depends on D4508

Test Plan

Ran tests

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D4508
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested review of this revision.Jul 18 2022, 1:56 PM
This revision is now accepted and ready to land.Jul 19 2022, 2:44 AM