Page MenuHomePhabricator

[lib] Move test messages outside of the describe scope to reuse them
ClosedPublic

Authored by rohan on Sep 29 2023, 11:08 AM.
Tags
None
Referenced Files
F3369044: D9331.id31551.diff
Mon, Nov 25, 9:31 PM
F3368406: D9331.diff
Mon, Nov 25, 7:43 PM
Unknown Object (File)
Wed, Nov 20, 4:38 PM
Unknown Object (File)
Wed, Nov 20, 4:38 PM
Unknown Object (File)
Wed, Nov 20, 4:38 PM
Unknown Object (File)
Wed, Nov 20, 4:37 PM
Unknown Object (File)
Wed, Nov 20, 4:18 PM
Unknown Object (File)
Tue, Nov 19, 7:48 PM
Subscribers

Details

Summary

Just moving the test messages outside of the sceop of the describe block so I can reuse them for the upcoming tests for the pinned messages

Depends on D9330

Resolves https://linear.app/comm/issue/ENG-5210/move-test-messages-outside-of-the-describe-scope-to-reuse-them

Test Plan

Ran flow and yarn workspace lib test

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

might make further sense to pull out to separate test data file?

This revision is now accepted and ready to land.Sep 29 2023, 1:12 PM
In D9331#274297, @atul wrote:

might make further sense to pull out to separate test data file?

Yeah it would make it easier, I'll probably do that after landing since I could also import them into the message ops utils tests