Page MenuHomePhabricator

[lib] integrity reducer tests
ClosedPublic

Authored by will on Mar 19 2024, 1:03 PM.
Tags
None
Referenced Files
F3672319: D11359.diff
Mon, Jan 6, 4:58 AM
F3665292: D11359.id38212.diff
Sun, Jan 5, 7:43 PM
F3663300: D11359.diff
Sun, Jan 5, 4:50 PM
Unknown Object (File)
Fri, Jan 3, 10:23 PM
Unknown Object (File)
Sun, Dec 29, 11:12 PM
Unknown Object (File)
Sun, Dec 29, 11:12 PM
Unknown Object (File)
Sun, Dec 29, 11:12 PM
Unknown Object (File)
Sun, Dec 29, 11:12 PM
Subscribers

Details

Summary

This implements the integrity reducer tests

Depends on D11358

Test Plan

flow check. Successfully runs tests

Diff Detail

Repository
rCOMM Comm
Branch
sqlite/integrityStore
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

will requested review of this revision.Mar 19 2024, 1:22 PM

consts can be moved to specific unit tests

tomek added inline comments.
lib/reducers/integrity-reducer.test.js
88 ↗(On Diff #38212)

It is a good practice to make the test description read like a sentence, e.g. it('should update integrity store....

This revision is now accepted and ready to land.Mar 20 2024, 5:22 AM

Remove isDefault to pass flow check

This revision was automatically updated to reflect the committed changes.