T2207
Depends on D15884
Move the Collapse-based wallet mgmt settings to their own screen. Rebuild it without antd.
Differential D15917
[Cashtab] Move wallet mgmt to its own screen Authored by bytesofman on Apr 6 2024, 21:19.
Details
T2207 Depends on D15884 Move the Collapse-based wallet mgmt settings to their own screen. Rebuild it without antd. npm test
Diff Detail
Event TimelineComment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Tail of the build log: Installing mock-chronik-client dependencies... /work/modules/mock-chronik-client /work/abc-ci-builds/cashtab-tests added 236 packages, and audited 237 packages in 1s 35 packages are looking for funding run `npm fund` for details found 0 vulnerabilities /work/cashtab /work/modules/mock-chronik-client /work/abc-ci-builds/cashtab-tests added 1718 packages, and audited 1719 packages in 29s 262 packages are looking for funding run `npm fund` for details 1 moderate severity vulnerability To address all issues, run: npm audit fix Run `npm audit` for details. > cashtab@2.21.1 build > node scripts/build.js Creating an optimized production build... Failed to compile. Attempted import error: 'isValidNewWalletNameLength' is not exported from 'validation' (imported as 'isValidNewWalletNameLength'). Build cashtab-tests failed with exit code 1 Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Tail of the build log: Installing mock-chronik-client dependencies... /work/modules/mock-chronik-client /work/abc-ci-builds/cashtab-tests added 236 packages, and audited 237 packages in 1s 35 packages are looking for funding run `npm fund` for details found 0 vulnerabilities /work/cashtab /work/modules/mock-chronik-client /work/abc-ci-builds/cashtab-tests added 1718 packages, and audited 1719 packages in 30s 262 packages are looking for funding run `npm fund` for details 1 moderate severity vulnerability To address all issues, run: npm audit fix Run `npm audit` for details. > cashtab@2.21.1 build > node scripts/build.js Creating an optimized production build... Failed to compile. Attempted import error: 'isValidNewWalletNameLength' is not exported from 'validation' (imported as 'isValidNewWalletNameLength'). Build cashtab-tests failed with exit code 1 Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Tail of the build log: vectors.js | 100 | 100 | 100 | 100 |
src/transactions | 100 | 100 | 100 | 100 |
index.js | 100 | 100 | 100 | 100 |
src/transactions/fixtures | 100 | 100 | 100 | 100 |
mocks.js | 100 | 100 | 100 | 100 |
vectors.js | 100 | 100 | 100 | 100 |
src/utils | 89.58 | 88.23 | 100 | 89.58 |
cashMethods.js | 100 | 100 | 100 | 100 |
formatting.js | 86.11 | 84.61 | 100 | 86.11 | 18,28,51-53
src/utils/fixtures | 0 | 0 | 0 | 0 |
vectors.js | 0 | 0 | 0 | 0 |
src/validation | 96.3 | 96.62 | 100 | 96.58 |
index.js | 96.3 | 96.62 | 100 | 96.58 | 178-179,321,353,373,420,618,714-715,849,854
src/validation/fixtures | 100 | 100 | 100 | 100 |
mocks.js | 100 | 100 | 100 | 100 |
vectors.js | 100 | 100 | 100 | 100 |
src/wallet | 94.36 | 85.79 | 83.67 | 94.82 |
context.js | 100 | 100 | 100 | 100 |
index.js | 100 | 100 | 100 | 100 |
useWallet.js | 91.69 | 79.33 | 74.19 | 92.36 | 66,150,423-429,468,538,609,636,658-666,706,738,769,775-778,852-853,878
src/wallet/fixtures | 100 | 100 | 100 | 100 |
mocks.js | 100 | 100 | 100 | 100 |
vectors.js | 100 | 100 | 100 | 100 |
---------------------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------
##teamcity[blockOpened name='Code Coverage Summary']
##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='3385']
##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='4229']
##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='1682']
##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2238']
##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='684']
##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='964']
##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='3334']
##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='4147']
##teamcity[blockClosed name='Code Coverage Summary']
Summary of all failing tests
FAIL src/components/Contacts/__tests__/index.test.js
โ Test suite failed to run
Cannot find module 'components/Configure/fixtures/mocks' from 'src/components/Contacts/__tests__/index.test.js'
5 | import React from 'react';
6 | import { walletWithXecAndTokens } from 'components/App/fixtures/mocks';
> 7 | import { populatedContactList } from 'components/Configure/fixtures/mocks';
| ^
8 | import { render, screen, waitFor } from '@testing-library/react';
9 | import userEvent, {
10 | PointerEventsCheckLevel,
at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/resolver.js:427:11)
at Object.require (src/components/Contacts/__tests__/index.test.js:7:1)
Test Suites: 1 failed, 31 passed, 32 total
Tests: 741 passed, 741 total
Snapshots: 0 total
Time: 41.619 s
Ran all test suites.
Build cashtab-tests failed with exit code 1Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Tail of the build log: vectors.js | 100 | 100 | 100 | 100 |
src/transactions | 100 | 100 | 100 | 100 |
index.js | 100 | 100 | 100 | 100 |
src/transactions/fixtures | 100 | 100 | 100 | 100 |
mocks.js | 100 | 100 | 100 | 100 |
vectors.js | 100 | 100 | 100 | 100 |
src/utils | 89.58 | 88.23 | 100 | 89.58 |
cashMethods.js | 100 | 100 | 100 | 100 |
formatting.js | 86.11 | 84.61 | 100 | 86.11 | 18,28,51-53
src/utils/fixtures | 0 | 0 | 0 | 0 |
vectors.js | 0 | 0 | 0 | 0 |
src/validation | 96.3 | 96.62 | 100 | 96.58 |
index.js | 96.3 | 96.62 | 100 | 96.58 | 178-179,321,353,373,420,618,714-715,849,854
src/validation/fixtures | 100 | 100 | 100 | 100 |
mocks.js | 100 | 100 | 100 | 100 |
vectors.js | 100 | 100 | 100 | 100 |
src/wallet | 94.36 | 85.79 | 83.67 | 94.82 |
context.js | 100 | 100 | 100 | 100 |
index.js | 100 | 100 | 100 | 100 |
useWallet.js | 91.69 | 79.33 | 74.19 | 92.36 | 66,150,423-429,468,538,609,636,658-666,706,738,769,775-778,852-853,878
src/wallet/fixtures | 100 | 100 | 100 | 100 |
mocks.js | 100 | 100 | 100 | 100 |
vectors.js | 100 | 100 | 100 | 100 |
---------------------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------
##teamcity[blockOpened name='Code Coverage Summary']
##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='3386']
##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='4230']
##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='1682']
##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2238']
##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='684']
##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='964']
##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='3335']
##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='4148']
##teamcity[blockClosed name='Code Coverage Summary']
Summary of all failing tests
FAIL src/components/Contacts/__tests__/index.test.js
โ Test suite failed to run
Cannot find module 'components/Configure/fixtures/mocks' from 'src/components/Contacts/__tests__/index.test.js'
5 | import React from 'react';
6 | import { walletWithXecAndTokens } from 'components/App/fixtures/mocks';
> 7 | import { populatedContactList } from 'components/Configure/fixtures/mocks';
| ^
8 | import { render, screen, waitFor } from '@testing-library/react';
9 | import userEvent, {
10 | PointerEventsCheckLevel,
at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/resolver.js:427:11)
at Object.require (src/components/Contacts/__tests__/index.test.js:7:1)
Test Suites: 1 failed, 31 passed, 32 total
Tests: 741 passed, 741 total
Snapshots: 0 total
Time: 40.809 s
Ran all test suites.
Build cashtab-tests failed with exit code 1Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Tail of the build log: vectors.js | 100 | 100 | 100 | 100 |
src/transactions | 100 | 100 | 100 | 100 |
index.js | 100 | 100 | 100 | 100 |
src/transactions/fixtures | 100 | 100 | 100 | 100 |
mocks.js | 100 | 100 | 100 | 100 |
vectors.js | 100 | 100 | 100 | 100 |
src/utils | 89.58 | 88.23 | 100 | 89.58 |
cashMethods.js | 100 | 100 | 100 | 100 |
formatting.js | 86.11 | 84.61 | 100 | 86.11 | 18,28,51-53
src/utils/fixtures | 0 | 0 | 0 | 0 |
vectors.js | 0 | 0 | 0 | 0 |
src/validation | 96.3 | 96.62 | 100 | 96.58 |
index.js | 96.3 | 96.62 | 100 | 96.58 | 178-179,321,353,373,420,618,714-715,849,854
src/validation/fixtures | 100 | 100 | 100 | 100 |
mocks.js | 100 | 100 | 100 | 100 |
vectors.js | 100 | 100 | 100 | 100 |
src/wallet | 94.36 | 85.79 | 83.67 | 94.82 |
context.js | 100 | 100 | 100 | 100 |
index.js | 100 | 100 | 100 | 100 |
useWallet.js | 91.69 | 79.33 | 74.19 | 92.36 | 66,150,423-429,468,538,609,636,658-666,706,738,769,775-778,852-853,878
src/wallet/fixtures | 100 | 100 | 100 | 100 |
mocks.js | 100 | 100 | 100 | 100 |
vectors.js | 100 | 100 | 100 | 100 |
---------------------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------
##teamcity[blockOpened name='Code Coverage Summary']
##teamcity[buildStatisticValue key='CodeCoverageAbsBCovered' value='3389']
##teamcity[buildStatisticValue key='CodeCoverageAbsBTotal' value='4233']
##teamcity[buildStatisticValue key='CodeCoverageAbsRCovered' value='1684']
##teamcity[buildStatisticValue key='CodeCoverageAbsRTotal' value='2240']
##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='685']
##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='965']
##teamcity[buildStatisticValue key='CodeCoverageAbsLCovered' value='3338']
##teamcity[buildStatisticValue key='CodeCoverageAbsLTotal' value='4151']
##teamcity[blockClosed name='Code Coverage Summary']
Summary of all failing tests
FAIL src/components/Contacts/__tests__/index.test.js
โ Test suite failed to run
Cannot find module 'components/Configure/fixtures/mocks' from 'src/components/Contacts/__tests__/index.test.js'
5 | import React from 'react';
6 | import { walletWithXecAndTokens } from 'components/App/fixtures/mocks';
> 7 | import { populatedContactList } from 'components/Configure/fixtures/mocks';
| ^
8 | import { render, screen, waitFor } from '@testing-library/react';
9 | import userEvent, {
10 | PointerEventsCheckLevel,
at Resolver._throwModNotFoundError (node_modules/jest-resolve/build/resolver.js:427:11)
at Object.require (src/components/Contacts/__tests__/index.test.js:7:1)
Test Suites: 1 failed, 31 passed, 32 total
Tests: 741 passed, 741 total
Snapshots: 0 total
Time: 40.808 s
Ran all test suites.
Build cashtab-tests failed with exit code 1
Comment Actions rebase, better function for formatting wallet balances, better Activate button
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||