Clean up these tests with best practices learned from writing all the other tests
Details
Details
- Reviewers
emack - Group Reviewers
Restricted Project - Commits
- rABC3fba786e754d: [Cashtab] Apply best practices to improve BalanceHeader integration tests
npm test
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- better-bh-test
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 27233 Build 54029: Build Diff cashtab-tests Build 54028: arc lint + arc unit
Event Timeline
cashtab/src/components/Common/__tests__/BalanceHeader.test.js | ||
---|---|---|
45 | if you expect it to be in the document, should use getBy... and not queryBy... |
Comment Actions
Accepted with minor nit for consistency
cashtab/src/components/Common/__tests__/BalanceHeader.test.js | ||
---|---|---|
197–202 | minor nit |