Removed unused imports from Send.js. Related to task T2071
Details
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project
Navigate to Send.js
Ensure the following imports are removed:
Components:
StyledCollapse
WalletLabel
Wallet
From antd:
notification
paragraph
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- remove-unused-imports
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 17564 Build 34954: Build Diff cashtab-tests Build 34953: arc lint + arc unit
Event Timeline
Comment Actions
Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs:
====== CashTab Unit Tests: Wallet without BCH balance ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Wallet without BCH balance 1` - Snapshot - 1 + Received + 1 @@ -383,11 +383,11 @@ </div> </form> </div> </div>, <div - className="sc-dNLxif cAbBwF" + className="sc-eNQAEJ fJrcEs" > Signatures </div>, <div className="ant-collapse ant-collapse-icon-position-left sc-fjdhpX ddFLEP" at Object.<anonymous> (/work/web/cashtab/src/components/Send/__tests__/Send.test.js:54:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Wallet with BCH balances ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Wallet with BCH balances 1` - Snapshot - 1 + Received + 1 @@ -383,11 +383,11 @@ </div> </form> </div> </div>, <div - className="sc-dNLxif cAbBwF" + className="sc-eNQAEJ fJrcEs" > Signatures </div>, <div className="ant-collapse ant-collapse-icon-position-left sc-fjdhpX ddFLEP" at Object.<anonymous> (/work/web/cashtab/src/components/Send/__tests__/Send.test.js:68:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Wallet with BCH balances and tokens ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Wallet with BCH balances and tokens 1` - Snapshot - 1 + Received + 1 @@ -383,11 +383,11 @@ </div> </form> </div> </div>, <div - className="sc-dNLxif cAbBwF" + className="sc-eNQAEJ fJrcEs" > Signatures </div>, <div className="ant-collapse ant-collapse-icon-position-left sc-fjdhpX ddFLEP" at Object.<anonymous> (/work/web/cashtab/src/components/Send/__tests__/Send.test.js:82:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Wallet with BCH balances and tokens and state field ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Wallet with BCH balances and tokens and state field 1` - Snapshot - 1 + Received + 1 @@ -391,11 +391,11 @@ </div> </form> </div> </div>, <div - className="sc-dNLxif cAbBwF" + className="sc-eNQAEJ fJrcEs" > Signatures </div>, <div className="ant-collapse ant-collapse-icon-position-left sc-fjdhpX ddFLEP" at Object.<anonymous> (/work/web/cashtab/src/components/Send/__tests__/Send.test.js:96:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5) ====== CashTab Unit Tests: Without wallet defined ====== Error: expect(received).toMatchSnapshot() Snapshot name: `Without wallet defined 1` - Snapshot - 1 + Received + 1 @@ -383,11 +383,11 @@ </div> </form> </div> </div>, <div - className="sc-dNLxif cAbBwF" + className="sc-eNQAEJ fJrcEs" > Signatures </div>, <div className="ant-collapse ant-collapse-icon-position-left sc-fjdhpX ddFLEP" at Object.<anonymous> (/work/web/cashtab/src/components/Send/__tests__/Send.test.js:114:18) at Object.asyncJestTest (/work/web/cashtab/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:28:19) at /work/web/cashtab/node_modules/jest-jasmine2/build/queueRunner.js:75:41 at processTicksAndRejections (node:internal/process/task_queues:94:5)
Each failure log is accessible here:
CashTab Unit Tests: Wallet without BCH balance
CashTab Unit Tests: Wallet with BCH balances
CashTab Unit Tests: Wallet with BCH balances and tokens
CashTab Unit Tests: Wallet with BCH balances and tokens and state field
CashTab Unit Tests: Without wallet defined