Page MenuHomePhabricator

[lib] integrity reducer tests
ClosedPublic

Authored by will on Mar 19 2024, 1:03 PM.
Tags
None
Referenced Files
F1762627: D11359.diff
Tue, May 14, 8:45 PM
Unknown Object (File)
Wed, May 8, 3:27 PM
Unknown Object (File)
Wed, May 8, 1:59 PM
Unknown Object (File)
Tue, May 7, 8:15 PM
Unknown Object (File)
Apr 1 2024, 11:46 AM
Unknown Object (File)
Apr 1 2024, 8:02 AM
Unknown Object (File)
Apr 1 2024, 5:30 AM
Unknown Object (File)
Apr 1 2024, 3:27 AM
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.