Page MenuHomePhabricator

[SQLite] implement tests `MessageToDevice` queries
ClosedPublic

Authored by kamil on Feb 26 2024, 2:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 5, 5:57 AM
Unknown Object (File)
Mon, Dec 23, 6:57 PM
Unknown Object (File)
Mon, Dec 23, 6:57 PM
Unknown Object (File)
Mon, Dec 23, 6:57 PM
Unknown Object (File)
Mon, Dec 23, 6:57 PM
Unknown Object (File)
Mon, Dec 23, 6:57 PM
Unknown Object (File)
Dec 5 2024, 5:32 AM
Unknown Object (File)
Dec 5 2024, 5:10 AM
Subscribers

Details

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Mar 1 2024, 12:25 AM
marcin added inline comments.
web/database/queries/message-to-device-queries.test.js
67 ↗(On Diff #37694)

Nit: How about throwing here? I know that in theory this shouldn't occur but if it hypothetically occurs then tests will fail saying that "undefined isn't something else" which could be confusing for developer. Probably all tests files suffer from this problem and could be updated.

This revision is now accepted and ready to land.Mar 1 2024, 2:31 AM
web/database/queries/message-to-device-queries.test.js
67 ↗(On Diff #37694)