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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
cashtab/src/components/Common/__tests__/BalanceHeader.test.js | ||
---|---|---|
45 ↗ | (On Diff #45362) | 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 ↗ | (On Diff #45362) | minor nit |