Page MenuHomePhabricator

[Cashtab] Apply standardized test wrappers to App.test.js
ClosedPublic

Authored by bytesofman on Feb 17 2024, 13:29.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC0f8f0d53943e: [Cashtab] Apply standardized test wrappers to App.test.js
Summary

As a precursor to combining the app integration tests into one file, update the original tests to use new standardized wrappers

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emack added inline comments.
cashtab/src/components/__tests__/App.test.js
80 ↗(On Diff #45335)

Does the absence of the route param result in this wrapper defaulting to the App (i.e. home) route?

bytesofman added inline comments.
cashtab/src/components/__tests__/App.test.js
80 ↗(On Diff #45335)

/wallet is specified as a default param in CashtabTestWrapper.js

This revision is now accepted and ready to land.Feb 19 2024, 05:39
This revision was automatically updated to reflect the committed changes.
bytesofman marked an inline comment as done.