Page MenuHomePhabricator

[Cashtab] Update configure.js with direct antd calls
AbandonedPublicDraft

Authored by emack on Feb 2 2024, 14:08.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

This diff replaces all uses of Notification.js functions in Configure.js with direct calls to the antd notification component, which happens to all be related to the Contact List feature.

Also integration tests added for this component.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
configureNotifs
Lint
Lint Errors
SeverityLocationCodeMessage
Errorcashtab/src/components/Configure/__tests__/Configure.test.js:70ESLINTetc/no-commented-out-code
Errorcashtab/src/components/Configure/__tests__/Configure.test.js:95ESLINTetc/no-commented-out-code
Unit
No Test Coverage
Build Status
Buildable 26900
Build 53367: Build Diffcashtab-tests
Build 53366: arc lint + arc unit

Event Timeline

Added initial integration test, still need to mock localForage when a localForage mock can't be passed in as a function arg.

Updated integration tests, however subject to upcoming alignment with react-router-dom refactors