Loading...
Guest user 

First recorded build

 
All history
 

Last recorded build

[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:46:25
[13:12:17][Step 1/1] at Object.eventWrapper (node_modules/@testing-library/react/dist/pure.js:107:28)
[13:12:17][Step 1/1] at Object.wrapEvent (node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:6:28)
[13:12:17][Step 1/1] at Object.dispatchEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:22)
[13:12:17][Step 1/1] at Object.dispatchUIEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:22:26)
[13:12:17][Step 1/1] at Mouse.up (node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js:100:30)
[13:12:17][Step 1/1] at PointerHost.release (node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:84:28)
[13:12:17][Step 1/1] at pointerAction (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:59:47)
[13:12:17][Step 1/1] at Object.pointer (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:32:9)
[13:12:17][Step 1/1] at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:88:22)
[13:12:17][Step 1/1] at Object.<anonymous> (src/components/Send/__tests__/SendXec.test.js:1421:9)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.warn
[13:12:17][Step 1/1] Deprecation Warning: TransactionBuilder will be removed in the future. (v6.x.x or later) Please use the Psbt class instead. Examples of usage are available in the transactions-psbt.js integration test file on our Github. A high level explanation is available in the psbt.ts and psbt.js files as well.
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 78 |
[13:12:17][Step 1/1] 79 | // Initialize TransactionBuilder
[13:12:17][Step 1/1] > 80 | let txBuilder = utxolib.bitgo.createTransactionBuilderForNetwork(
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 81 | utxolib.networks.ecash,
[13:12:17][Step 1/1] 82 | );
[13:12:17][Step 1/1] 83 |
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at new TransactionBuilder (node_modules/@bitgo/utxo-lib/src/transaction_builder.ts:172:13)
[13:12:17][Step 1/1] at new UtxoTransactionBuilder (node_modules/@bitgo/utxo-lib/src/bitgo/UtxoTransactionBuilder.ts:24:5)
[13:12:17][Step 1/1] at Object.createTransactionBuilderForNetwork (node_modules/@bitgo/utxo-lib/src/bitgo/transaction.ts:257:13)
[13:12:17][Step 1/1] at createTransactionBuilderForNetwork (src/transactions/index.js:80:35)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:491:40)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:248:13)
[13:12:17][Step 1/1] at checkForConfirmationBeforeSendXec (src/components/Send/SendXec.js:1101:21)
[13:12:17][Step 1/1] at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:4164:14)
[13:12:17][Step 1/1] at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
[13:12:17][Step 1/1] at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
[13:12:17][Step 1/1] at invokeGuardedCallbackAndCatchFirstError (node_modules/react-dom/cjs/react-dom.development.js:4291:25)
[13:12:17][Step 1/1] at executeDispatch (node_modules/react-dom/cjs/react-dom.development.js:9041:3)
[13:12:17][Step 1/1] at processDispatchQueueItemsInOrder (node_modules/react-dom/cjs/react-dom.development.js:9073:7)
[13:12:17][Step 1/1] at processDispatchQueue (node_modules/react-dom/cjs/react-dom.development.js:9086:5)
[13:12:17][Step 1/1] at dispatchEventsForPlugins (node_modules/react-dom/cjs/react-dom.development.js:9097:3)
[13:12:17][Step 1/1] at node_modules/react-dom/cjs/react-dom.development.js:9288:12
[13:12:17][Step 1/1] at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:26140:12)
[13:12:17][Step 1/1] at batchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:3991:12)
[13:12:17][Step 1/1] at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom.development.js:9287:3)
[13:12:17][Step 1/1] at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (node_modules/react-dom/cjs/react-dom.development.js:6465:5)
[13:12:17][Step 1/1] at dispatchEvent (node_modules/react-dom/cjs/react-dom.development.js:6457:5)
[13:12:17][Step 1/1] at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom.development.js:6430:5)
[13:12:17][Step 1/1] at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLButtonElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLButtonElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:43
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/pure.js:108:16
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:47:24
[13:12:17][Step 1/1] at act (node_modules/react/cjs/react.development.js:2512:16)
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:46:25
[13:12:17][Step 1/1] at Object.eventWrapper (node_modules/@testing-library/react/dist/pure.js:107:28)
[13:12:17][Step 1/1] at Object.wrapEvent (node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:6:28)
[13:12:17][Step 1/1] at Object.dispatchEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:22)
[13:12:17][Step 1/1] at Object.dispatchUIEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:22:26)
[13:12:17][Step 1/1] at Mouse.up (node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js:100:30)
[13:12:17][Step 1/1] at PointerHost.release (node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:84:28)
[13:12:17][Step 1/1] at pointerAction (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:59:47)
[13:12:17][Step 1/1] at Object.pointer (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:32:9)
[13:12:17][Step 1/1] at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:88:22)
[13:12:17][Step 1/1] at Object.<anonymous> (src/components/Send/__tests__/SendXec.test.js:1421:9)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.warn
[13:12:17][Step 1/1] DEPRECATED: TransactionBuilder sign method arguments will change in v6, please use the TxbSignArg interface
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 32 |
[13:12:17][Step 1/1] 33 | // Sign this input
[13:12:17][Step 1/1] > 34 | txBuilder.sign(
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 35 | index, // vin
[13:12:17][Step 1/1] 36 | utxoECPair, // keyPair
[13:12:17][Step 1/1] 37 | undefined, // redeemScript
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at getSigningData (node_modules/@bitgo/utxo-lib/src/transaction_builder.ts:1299:13)
[13:12:17][Step 1/1] at UtxoTransactionBuilder.sign (node_modules/@bitgo/utxo-lib/src/transaction_builder.ts:278:7)
[13:12:17][Step 1/1] at UtxoTransactionBuilder.sign (node_modules/@bitgo/utxo-lib/src/bitgo/UtxoTransactionBuilder.ts:94:20)
[13:12:17][Step 1/1] at sign (src/transactions/index.js:34:19)
[13:12:17][Step 1/1] at Array.forEach (<anonymous>)
[13:12:17][Step 1/1] at forEach (src/transactions/index.js:19:12)
[13:12:17][Step 1/1] at signInputs (src/transactions/index.js:108:5)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:491:40)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:248:13)
[13:12:17][Step 1/1] at checkForConfirmationBeforeSendXec (src/components/Send/SendXec.js:1101:21)
[13:12:17][Step 1/1] at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:4164:14)
[13:12:17][Step 1/1] at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
[13:12:17][Step 1/1] at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
[13:12:17][Step 1/1] at invokeGuardedCallbackAndCatchFirstError (node_modules/react-dom/cjs/react-dom.development.js:4291:25)
[13:12:17][Step 1/1] at executeDispatch (node_modules/react-dom/cjs/react-dom.development.js:9041:3)
[13:12:17][Step 1/1] at processDispatchQueueItemsInOrder (node_modules/react-dom/cjs/react-dom.development.js:9073:7)
[13:12:17][Step 1/1] at processDispatchQueue (node_modules/react-dom/cjs/react-dom.development.js:9086:5)
[13:12:17][Step 1/1] at dispatchEventsForPlugins (node_modules/react-dom/cjs/react-dom.development.js:9097:3)
[13:12:17][Step 1/1] at node_modules/react-dom/cjs/react-dom.development.js:9288:12
[13:12:17][Step 1/1] at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:26140:12)
[13:12:17][Step 1/1] at batchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:3991:12)
[13:12:17][Step 1/1] at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom.development.js:9287:3)
[13:12:17][Step 1/1] at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (node_modules/react-dom/cjs/react-dom.development.js:6465:5)
[13:12:17][Step 1/1] at dispatchEvent (node_modules/react-dom/cjs/react-dom.development.js:6457:5)
[13:12:17][Step 1/1] at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom.development.js:6430:5)
[13:12:17][Step 1/1] at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLButtonElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLButtonElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:43
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/pure.js:108:16
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:47:24
[13:12:17][Step 1/1] at act (node_modules/react/cjs/react.development.js:2512:16)
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:46:25
[13:12:17][Step 1/1] at Object.eventWrapper (node_modules/@testing-library/react/dist/pure.js:107:28)
[13:12:17][Step 1/1] at Object.wrapEvent (node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:6:28)
[13:12:17][Step 1/1] at Object.dispatchEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:22)
[13:12:17][Step 1/1] at Object.dispatchUIEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:22:26)
[13:12:17][Step 1/1] at Mouse.up (node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js:100:30)
[13:12:17][Step 1/1] at PointerHost.release (node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:84:28)
[13:12:17][Step 1/1] at pointerAction (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:59:47)
[13:12:17][Step 1/1] at Object.pointer (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:32:9)
[13:12:17][Step 1/1] at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:88:22)
[13:12:17][Step 1/1] at Object.<anonymous> (src/components/Send/__tests__/SendXec.test.js:1421:9)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.error
[13:12:17][Step 1/1] Error: Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)
[13:12:17][Step 1/1] at module.exports (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (/work/cashtab/src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at /work/cashtab/src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1] at listOnTimeout (node:internal/timers:573:17)
[13:12:17][Step 1/1] at processTimers (node:internal/timers:514:7) {
[13:12:17][Step 1/1] type: 'not implemented'
[13:12:17][Step 1/1] }
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 146 | try {
[13:12:17][Step 1/1] 147 | const canvas = document.createElement('canvas');
[13:12:17][Step 1/1] > 148 | const context = canvas.getContext('2d');
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 149 | context.font = font || getComputedStyle(document.body).font;
[13:12:17][Step 1/1] 150 | return context.measureText(text).width;
[13:12:17][Step 1/1] 151 | } catch (err) {
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
[13:12:17][Step 1/1] at module.exports (node_modules/jsdom/lib/jsdom/browser/not-implemented.js:12:26)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.error
[13:12:17][Step 1/1] Error: Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)
[13:12:17][Step 1/1] at module.exports (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (/work/cashtab/src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at /work/cashtab/src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1] at listOnTimeout (node:internal/timers:573:17)
[13:12:17][Step 1/1] at processTimers (node:internal/timers:514:7) {
[13:12:17][Step 1/1] type: 'not implemented'
[13:12:17][Step 1/1] }
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 146 | try {
[13:12:17][Step 1/1] 147 | const canvas = document.createElement('canvas');
[13:12:17][Step 1/1] > 148 | const context = canvas.getContext('2d');
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 149 | context.font = font || getComputedStyle(document.body).font;
[13:12:17][Step 1/1] 150 | return context.measureText(text).width;
[13:12:17][Step 1/1] 151 | } catch (err) {
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
[13:12:17][Step 1/1] at module.exports (node_modules/jsdom/lib/jsdom/browser/not-implemented.js:12:26)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.error
[13:12:17][Step 1/1] Error: Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)
[13:12:17][Step 1/1] at module.exports (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (/work/cashtab/src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at /work/cashtab/src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1] at listOnTimeout (node:internal/timers:573:17)
[13:12:17][Step 1/1] at processTimers (node:internal/timers:514:7) {
[13:12:17][Step 1/1] type: 'not implemented'
[13:12:17][Step 1/1] }
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 146 | try {
[13:12:17][Step 1/1] 147 | const canvas = document.createElement('canvas');
[13:12:17][Step 1/1] > 148 | const context = canvas.getContext('2d');
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 149 | context.font = font || getComputedStyle(document.body).font;
[13:12:17][Step 1/1] 150 | return context.measureText(text).width;
[13:12:17][Step 1/1] 151 | } catch (err) {
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
[13:12:17][Step 1/1] at module.exports (node_modules/jsdom/lib/jsdom/browser/not-implemented.js:12:26)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.warn
[13:12:17][Step 1/1] [react-ga] ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 38 | ? // If you are not building the extension, export GA event tracking function
[13:12:17][Step 1/1] 39 | (category, action, label) => {
[13:12:17][Step 1/1] > 40 | ReactGA.event({
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 41 | category: category,
[13:12:17][Step 1/1] 42 | action: action,
[13:12:17][Step 1/1] 43 | label: label,
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at warn (node_modules/react-ga/dist/react-ga.js:110:11)
[13:12:17][Step 1/1] at internalGa (node_modules/react-ga/dist/react-ga.js:211:47)
[13:12:17][Step 1/1] at _gaCommand (node_modules/react-ga/dist/react-ga.js:232:81)
[13:12:17][Step 1/1] at send (node_modules/react-ga/dist/react-ga.js:367:3)
[13:12:17][Step 1/1] at Object.event (node_modules/react-ga/dist/react-ga.js:577:5)
[13:12:17][Step 1/1] at event (src/components/Common/GoogleAnalytics.js:40:23)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:465:18)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:248:13)
[13:12:17][Step 1/1] at checkForConfirmationBeforeSendXec (src/components/Send/SendXec.js:1101:21)
[13:12:17][Step 1/1] at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:4164:14)
[13:12:17][Step 1/1] at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
[13:12:17][Step 1/1] at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
[13:12:17][Step 1/1] at invokeGuardedCallbackAndCatchFirstError (node_modules/react-dom/cjs/react-dom.development.js:4291:25)
[13:12:17][Step 1/1] at executeDispatch (node_modules/react-dom/cjs/react-dom.development.js:9041:3)
[13:12:17][Step 1/1] at processDispatchQueueItemsInOrder (node_modules/react-dom/cjs/react-dom.development.js:9073:7)
[13:12:17][Step 1/1] at processDispatchQueue (node_modules/react-dom/cjs/react-dom.development.js:9086:5)
[13:12:17][Step 1/1] at dispatchEventsForPlugins (node_modules/react-dom/cjs/react-dom.development.js:9097:3)
[13:12:17][Step 1/1] at node_modules/react-dom/cjs/react-dom.development.js:9288:12
[13:12:17][Step 1/1] at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:26140:12)
[13:12:17][Step 1/1] at batchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:3991:12)
[13:12:17][Step 1/1] at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom.development.js:9287:3)
[13:12:17][Step 1/1] at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (node_modules/react-dom/cjs/react-dom.development.js:6465:5)
[13:12:17][Step 1/1] at dispatchEvent (node_modules/react-dom/cjs/react-dom.development.js:6457:5)
[13:12:17][Step 1/1] at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom.development.js:6430:5)
[13:12:17][Step 1/1] at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLButtonElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLButtonElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:43
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/pure.js:108:16
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:47:24
[13:12:17][Step 1/1] at act (node_modules/react/cjs/react.development.js:2512:16)
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:46:25
[13:12:17][Step 1/1] at Object.eventWrapper (node_modules/@testing-library/react/dist/pure.js:107:28)
[13:12:17][Step 1/1] at Object.wrapEvent (node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:6:28)
[13:12:17][Step 1/1] at Object.dispatchEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:22)
[13:12:17][Step 1/1] at Object.dispatchUIEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:22:26)
[13:12:17][Step 1/1] at Mouse.up (node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js:100:30)
[13:12:17][Step 1/1] at PointerHost.release (node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:84:28)
[13:12:17][Step 1/1] at pointerAction (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:59:47)
[13:12:17][Step 1/1] at Object.pointer (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:32:9)
[13:12:17][Step 1/1] at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:88:22)
[13:12:17][Step 1/1] at Object.<anonymous> (src/components/Send/__tests__/SendXec.test.js:1479:9)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.warn
[13:12:17][Step 1/1] Deprecation Warning: TransactionBuilder will be removed in the future. (v6.x.x or later) Please use the Psbt class instead. Examples of usage are available in the transactions-psbt.js integration test file on our Github. A high level explanation is available in the psbt.ts and psbt.js files as well.
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 78 |
[13:12:17][Step 1/1] 79 | // Initialize TransactionBuilder
[13:12:17][Step 1/1] > 80 | let txBuilder = utxolib.bitgo.createTransactionBuilderForNetwork(
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 81 | utxolib.networks.ecash,
[13:12:17][Step 1/1] 82 | );
[13:12:17][Step 1/1] 83 |
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at new TransactionBuilder (node_modules/@bitgo/utxo-lib/src/transaction_builder.ts:172:13)
[13:12:17][Step 1/1] at new UtxoTransactionBuilder (node_modules/@bitgo/utxo-lib/src/bitgo/UtxoTransactionBuilder.ts:24:5)
[13:12:17][Step 1/1] at Object.createTransactionBuilderForNetwork (node_modules/@bitgo/utxo-lib/src/bitgo/transaction.ts:257:13)
[13:12:17][Step 1/1] at createTransactionBuilderForNetwork (src/transactions/index.js:80:35)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:491:40)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:248:13)
[13:12:17][Step 1/1] at checkForConfirmationBeforeSendXec (src/components/Send/SendXec.js:1101:21)
[13:12:17][Step 1/1] at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:4164:14)
[13:12:17][Step 1/1] at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
[13:12:17][Step 1/1] at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
[13:12:17][Step 1/1] at invokeGuardedCallbackAndCatchFirstError (node_modules/react-dom/cjs/react-dom.development.js:4291:25)
[13:12:17][Step 1/1] at executeDispatch (node_modules/react-dom/cjs/react-dom.development.js:9041:3)
[13:12:17][Step 1/1] at processDispatchQueueItemsInOrder (node_modules/react-dom/cjs/react-dom.development.js:9073:7)
[13:12:17][Step 1/1] at processDispatchQueue (node_modules/react-dom/cjs/react-dom.development.js:9086:5)
[13:12:17][Step 1/1] at dispatchEventsForPlugins (node_modules/react-dom/cjs/react-dom.development.js:9097:3)
[13:12:17][Step 1/1] at node_modules/react-dom/cjs/react-dom.development.js:9288:12
[13:12:17][Step 1/1] at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:26140:12)
[13:12:17][Step 1/1] at batchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:3991:12)
[13:12:17][Step 1/1] at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom.development.js:9287:3)
[13:12:17][Step 1/1] at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (node_modules/react-dom/cjs/react-dom.development.js:6465:5)
[13:12:17][Step 1/1] at dispatchEvent (node_modules/react-dom/cjs/react-dom.development.js:6457:5)
[13:12:17][Step 1/1] at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom.development.js:6430:5)
[13:12:17][Step 1/1] at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLButtonElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLButtonElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:43
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/pure.js:108:16
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:47:24
[13:12:17][Step 1/1] at act (node_modules/react/cjs/react.development.js:2512:16)
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:46:25
[13:12:17][Step 1/1] at Object.eventWrapper (node_modules/@testing-library/react/dist/pure.js:107:28)
[13:12:17][Step 1/1] at Object.wrapEvent (node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:6:28)
[13:12:17][Step 1/1] at Object.dispatchEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:22)
[13:12:17][Step 1/1] at Object.dispatchUIEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:22:26)
[13:12:17][Step 1/1] at Mouse.up (node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js:100:30)
[13:12:17][Step 1/1] at PointerHost.release (node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:84:28)
[13:12:17][Step 1/1] at pointerAction (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:59:47)
[13:12:17][Step 1/1] at Object.pointer (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:32:9)
[13:12:17][Step 1/1] at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:88:22)
[13:12:17][Step 1/1] at Object.<anonymous> (src/components/Send/__tests__/SendXec.test.js:1479:9)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.warn
[13:12:17][Step 1/1] DEPRECATED: TransactionBuilder sign method arguments will change in v6, please use the TxbSignArg interface
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 32 |
[13:12:17][Step 1/1] 33 | // Sign this input
[13:12:17][Step 1/1] > 34 | txBuilder.sign(
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 35 | index, // vin
[13:12:17][Step 1/1] 36 | utxoECPair, // keyPair
[13:12:17][Step 1/1] 37 | undefined, // redeemScript
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at getSigningData (node_modules/@bitgo/utxo-lib/src/transaction_builder.ts:1299:13)
[13:12:17][Step 1/1] at UtxoTransactionBuilder.sign (node_modules/@bitgo/utxo-lib/src/transaction_builder.ts:278:7)
[13:12:17][Step 1/1] at UtxoTransactionBuilder.sign (node_modules/@bitgo/utxo-lib/src/bitgo/UtxoTransactionBuilder.ts:94:20)
[13:12:17][Step 1/1] at sign (src/transactions/index.js:34:19)
[13:12:17][Step 1/1] at Array.forEach (<anonymous>)
[13:12:17][Step 1/1] at forEach (src/transactions/index.js:19:12)
[13:12:17][Step 1/1] at signInputs (src/transactions/index.js:108:5)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:491:40)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:248:13)
[13:12:17][Step 1/1] at checkForConfirmationBeforeSendXec (src/components/Send/SendXec.js:1101:21)
[13:12:17][Step 1/1] at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:4164:14)
[13:12:17][Step 1/1] at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
[13:12:17][Step 1/1] at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
[13:12:17][Step 1/1] at invokeGuardedCallbackAndCatchFirstError (node_modules/react-dom/cjs/react-dom.development.js:4291:25)
[13:12:17][Step 1/1] at executeDispatch (node_modules/react-dom/cjs/react-dom.development.js:9041:3)
[13:12:17][Step 1/1] at processDispatchQueueItemsInOrder (node_modules/react-dom/cjs/react-dom.development.js:9073:7)
[13:12:17][Step 1/1] at processDispatchQueue (node_modules/react-dom/cjs/react-dom.development.js:9086:5)
[13:12:17][Step 1/1] at dispatchEventsForPlugins (node_modules/react-dom/cjs/react-dom.development.js:9097:3)
[13:12:17][Step 1/1] at node_modules/react-dom/cjs/react-dom.development.js:9288:12
[13:12:17][Step 1/1] at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:26140:12)
[13:12:17][Step 1/1] at batchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:3991:12)
[13:12:17][Step 1/1] at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom.development.js:9287:3)
[13:12:17][Step 1/1] at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (node_modules/react-dom/cjs/react-dom.development.js:6465:5)
[13:12:17][Step 1/1] at dispatchEvent (node_modules/react-dom/cjs/react-dom.development.js:6457:5)
[13:12:17][Step 1/1] at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom.development.js:6430:5)
[13:12:17][Step 1/1] at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLButtonElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLButtonElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:43
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/pure.js:108:16
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:47:24
[13:12:17][Step 1/1] at act (node_modules/react/cjs/react.development.js:2512:16)
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:46:25
[13:12:17][Step 1/1] at Object.eventWrapper (node_modules/@testing-library/react/dist/pure.js:107:28)
[13:12:17][Step 1/1] at Object.wrapEvent (node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:6:28)
[13:12:17][Step 1/1] at Object.dispatchEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:22)
[13:12:17][Step 1/1] at Object.dispatchUIEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:22:26)
[13:12:17][Step 1/1] at Mouse.up (node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js:100:30)
[13:12:17][Step 1/1] at PointerHost.release (node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:84:28)
[13:12:17][Step 1/1] at pointerAction (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:59:47)
[13:12:17][Step 1/1] at Object.pointer (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:32:9)
[13:12:17][Step 1/1] at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:88:22)
[13:12:17][Step 1/1] at Object.<anonymous> (src/components/Send/__tests__/SendXec.test.js:1479:9)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.error
[13:12:17][Step 1/1] Error: Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)
[13:12:17][Step 1/1] at module.exports (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (/work/cashtab/src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at /work/cashtab/src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1] at listOnTimeout (node:internal/timers:573:17)
[13:12:17][Step 1/1] at processTimers (node:internal/timers:514:7) {
[13:12:17][Step 1/1] type: 'not implemented'
[13:12:17][Step 1/1] }
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 146 | try {
[13:12:17][Step 1/1] 147 | const canvas = document.createElement('canvas');
[13:12:17][Step 1/1] > 148 | const context = canvas.getContext('2d');
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 149 | context.font = font || getComputedStyle(document.body).font;
[13:12:17][Step 1/1] 150 | return context.measureText(text).width;
[13:12:17][Step 1/1] 151 | } catch (err) {
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
[13:12:17][Step 1/1] at module.exports (node_modules/jsdom/lib/jsdom/browser/not-implemented.js:12:26)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.error
[13:12:17][Step 1/1] Error: Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)
[13:12:17][Step 1/1] at module.exports (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (/work/cashtab/src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at /work/cashtab/src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1] at listOnTimeout (node:internal/timers:573:17)
[13:12:17][Step 1/1] at processTimers (node:internal/timers:514:7) {
[13:12:17][Step 1/1] type: 'not implemented'
[13:12:17][Step 1/1] }
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 146 | try {
[13:12:17][Step 1/1] 147 | const canvas = document.createElement('canvas');
[13:12:17][Step 1/1] > 148 | const context = canvas.getContext('2d');
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 149 | context.font = font || getComputedStyle(document.body).font;
[13:12:17][Step 1/1] 150 | return context.measureText(text).width;
[13:12:17][Step 1/1] 151 | } catch (err) {
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
[13:12:17][Step 1/1] at module.exports (node_modules/jsdom/lib/jsdom/browser/not-implemented.js:12:26)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.error
[13:12:17][Step 1/1] Error: Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)
[13:12:17][Step 1/1] at module.exports (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (/work/cashtab/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (/work/cashtab/src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at /work/cashtab/src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (/work/cashtab/node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (/work/cashtab/node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (/work/cashtab/node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (/work/cashtab/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1] at listOnTimeout (node:internal/timers:573:17)
[13:12:17][Step 1/1] at processTimers (node:internal/timers:514:7) {
[13:12:17][Step 1/1] type: 'not implemented'
[13:12:17][Step 1/1] }
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 146 | try {
[13:12:17][Step 1/1] 147 | const canvas = document.createElement('canvas');
[13:12:17][Step 1/1] > 148 | const context = canvas.getContext('2d');
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 149 | context.font = font || getComputedStyle(document.body).font;
[13:12:17][Step 1/1] 150 | return context.measureText(text).width;
[13:12:17][Step 1/1] 151 | } catch (err) {
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
[13:12:17][Step 1/1] at module.exports (node_modules/jsdom/lib/jsdom/browser/not-implemented.js:12:26)
[13:12:17][Step 1/1] at HTMLCanvasElementImpl.getContext (node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
[13:12:17][Step 1/1] at HTMLCanvasElement.getContext (node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
[13:12:17][Step 1/1] at getContext (src/helpers/index.js:148:32)
[13:12:17][Step 1/1] at src/components/Common/WalletLabel.js:31:21
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1310:21)
[13:12:17][Step 1/1] at flatten (node_modules/styled-components/dist/styled-components.cjs.js:1290:16)
[13:12:17][Step 1/1] at ComponentStyle.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:1497:19)
[13:12:17][Step 1/1] at StyledComponent.generateAndInjectStyles (node_modules/styled-components/dist/styled-components.cjs.js:2116:36)
[13:12:17][Step 1/1] at StyledComponent.renderInner (node_modules/styled-components/dist/styled-components.cjs.js:2021:33)
[13:12:17][Step 1/1] at updateContextConsumer (node_modules/react-dom/cjs/react-dom.development.js:21207:19)
[13:12:17][Step 1/1] at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21652:14)
[13:12:17][Step 1/1] at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27426:14)
[13:12:17][Step 1/1] at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26560:12)
[13:12:17][Step 1/1] at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26466:5)
[13:12:17][Step 1/1] at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26434:7)
[13:12:17][Step 1/1] at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25738:74)
[13:12:17][Step 1/1] at workLoop (node_modules/scheduler/cjs/scheduler.development.js:266:34)
[13:12:17][Step 1/1] at flushWork (node_modules/scheduler/cjs/scheduler.development.js:239:14)
[13:12:17][Step 1/1] at performWorkUntilDeadline (node_modules/scheduler/cjs/scheduler.development.js:533:21)
[13:12:17][Step 1/1] at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.warn
[13:12:17][Step 1/1] [react-ga] ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 38 | ? // If you are not building the extension, export GA event tracking function
[13:12:17][Step 1/1] 39 | (category, action, label) => {
[13:12:17][Step 1/1] > 40 | ReactGA.event({
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 41 | category: category,
[13:12:17][Step 1/1] 42 | action: action,
[13:12:17][Step 1/1] 43 | label: label,
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at warn (node_modules/react-ga/dist/react-ga.js:110:11)
[13:12:17][Step 1/1] at internalGa (node_modules/react-ga/dist/react-ga.js:211:47)
[13:12:17][Step 1/1] at _gaCommand (node_modules/react-ga/dist/react-ga.js:232:81)
[13:12:17][Step 1/1] at send (node_modules/react-ga/dist/react-ga.js:367:3)
[13:12:17][Step 1/1] at Object.event (node_modules/react-ga/dist/react-ga.js:577:5)
[13:12:17][Step 1/1] at event (src/components/Common/GoogleAnalytics.js:40:23)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:486:18)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:248:13)
[13:12:17][Step 1/1] at checkForConfirmationBeforeSendXec (src/components/Send/SendXec.js:1101:21)
[13:12:17][Step 1/1] at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:4164:14)
[13:12:17][Step 1/1] at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
[13:12:17][Step 1/1] at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
[13:12:17][Step 1/1] at invokeGuardedCallbackAndCatchFirstError (node_modules/react-dom/cjs/react-dom.development.js:4291:25)
[13:12:17][Step 1/1] at executeDispatch (node_modules/react-dom/cjs/react-dom.development.js:9041:3)
[13:12:17][Step 1/1] at processDispatchQueueItemsInOrder (node_modules/react-dom/cjs/react-dom.development.js:9073:7)
[13:12:17][Step 1/1] at processDispatchQueue (node_modules/react-dom/cjs/react-dom.development.js:9086:5)
[13:12:17][Step 1/1] at dispatchEventsForPlugins (node_modules/react-dom/cjs/react-dom.development.js:9097:3)
[13:12:17][Step 1/1] at node_modules/react-dom/cjs/react-dom.development.js:9288:12
[13:12:17][Step 1/1] at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:26140:12)
[13:12:17][Step 1/1] at batchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:3991:12)
[13:12:17][Step 1/1] at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom.development.js:9287:3)
[13:12:17][Step 1/1] at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (node_modules/react-dom/cjs/react-dom.development.js:6465:5)
[13:12:17][Step 1/1] at dispatchEvent (node_modules/react-dom/cjs/react-dom.development.js:6457:5)
[13:12:17][Step 1/1] at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom.development.js:6430:5)
[13:12:17][Step 1/1] at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLButtonElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLButtonElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:43
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/pure.js:108:16
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:47:24
[13:12:17][Step 1/1] at act (node_modules/react/cjs/react.development.js:2512:16)
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:46:25
[13:12:17][Step 1/1] at Object.eventWrapper (node_modules/@testing-library/react/dist/pure.js:107:28)
[13:12:17][Step 1/1] at Object.wrapEvent (node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:6:28)
[13:12:17][Step 1/1] at Object.dispatchEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:22)
[13:12:17][Step 1/1] at Object.dispatchUIEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:22:26)
[13:12:17][Step 1/1] at Mouse.up (node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js:100:30)
[13:12:17][Step 1/1] at PointerHost.release (node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:84:28)
[13:12:17][Step 1/1] at pointerAction (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:59:47)
[13:12:17][Step 1/1] at Object.pointer (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:32:9)
[13:12:17][Step 1/1] at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:88:22)
[13:12:17][Step 1/1] at Object.<anonymous> (src/components/Send/__tests__/SendXec.test.js:1576:9)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.warn
[13:12:17][Step 1/1] Deprecation Warning: TransactionBuilder will be removed in the future. (v6.x.x or later) Please use the Psbt class instead. Examples of usage are available in the transactions-psbt.js integration test file on our Github. A high level explanation is available in the psbt.ts and psbt.js files as well.
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 78 |
[13:12:17][Step 1/1] 79 | // Initialize TransactionBuilder
[13:12:17][Step 1/1] > 80 | let txBuilder = utxolib.bitgo.createTransactionBuilderForNetwork(
[13:12:17][Step 1/1] | ^
[13:12:17][Step 1/1] 81 | utxolib.networks.ecash,
[13:12:17][Step 1/1] 82 | );
[13:12:17][Step 1/1] 83 |
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] at new TransactionBuilder (node_modules/@bitgo/utxo-lib/src/transaction_builder.ts:172:13)
[13:12:17][Step 1/1] at new UtxoTransactionBuilder (node_modules/@bitgo/utxo-lib/src/bitgo/UtxoTransactionBuilder.ts:24:5)
[13:12:17][Step 1/1] at Object.createTransactionBuilderForNetwork (node_modules/@bitgo/utxo-lib/src/bitgo/transaction.ts:257:13)
[13:12:17][Step 1/1] at createTransactionBuilderForNetwork (src/transactions/index.js:80:35)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:491:40)
[13:12:17][Step 1/1] at send (src/components/Send/SendXec.js:248:13)
[13:12:17][Step 1/1] at checkForConfirmationBeforeSendXec (src/components/Send/SendXec.js:1101:21)
[13:12:17][Step 1/1] at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:4164:14)
[13:12:17][Step 1/1] at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
[13:12:17][Step 1/1] at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
[13:12:17][Step 1/1] at invokeGuardedCallbackAndCatchFirstError (node_modules/react-dom/cjs/react-dom.development.js:4291:25)
[13:12:17][Step 1/1] at executeDispatch (node_modules/react-dom/cjs/react-dom.development.js:9041:3)
[13:12:17][Step 1/1] at processDispatchQueueItemsInOrder (node_modules/react-dom/cjs/react-dom.development.js:9073:7)
[13:12:17][Step 1/1] at processDispatchQueue (node_modules/react-dom/cjs/react-dom.development.js:9086:5)
[13:12:17][Step 1/1] at dispatchEventsForPlugins (node_modules/react-dom/cjs/react-dom.development.js:9097:3)
[13:12:17][Step 1/1] at node_modules/react-dom/cjs/react-dom.development.js:9288:12
[13:12:17][Step 1/1] at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:26140:12)
[13:12:17][Step 1/1] at batchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:3991:12)
[13:12:17][Step 1/1] at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom.development.js:9287:3)
[13:12:17][Step 1/1] at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (node_modules/react-dom/cjs/react-dom.development.js:6465:5)
[13:12:17][Step 1/1] at dispatchEvent (node_modules/react-dom/cjs/react-dom.development.js:6457:5)
[13:12:17][Step 1/1] at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom.development.js:6430:5)
[13:12:17][Step 1/1] at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:17][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:17][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:17][Step 1/1] at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:17][Step 1/1] at HTMLButtonElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:17][Step 1/1] at HTMLButtonElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:17][Step 1/1] at node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:43
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/pure.js:108:16
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:47:24
[13:12:17][Step 1/1] at act (node_modules/react/cjs/react.development.js:2512:16)
[13:12:17][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:46:25
[13:12:17][Step 1/1] at Object.eventWrapper (node_modules/@testing-library/react/dist/pure.js:107:28)
[13:12:17][Step 1/1] at Object.wrapEvent (node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:6:28)
[13:12:17][Step 1/1] at Object.dispatchEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:22)
[13:12:17][Step 1/1] at Object.dispatchUIEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:22:26)
[13:12:17][Step 1/1] at Mouse.up (node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js:100:30)
[13:12:17][Step 1/1] at PointerHost.release (node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:84:28)
[13:12:17][Step 1/1] at pointerAction (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:59:47)
[13:12:17][Step 1/1] at Object.pointer (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:32:9)
[13:12:17][Step 1/1] at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:88:22)
[13:12:17][Step 1/1] at Object.<anonymous> (src/components/Send/__tests__/SendXec.test.js:1576:9)
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] console.warn
[13:12:17][Step 1/1] DEPRECATED: TransactionBuilder sign method arguments will change in v6, please use the TxbSignArg interface
[13:12:17][Step 1/1]
[13:12:17][Step 1/1] 32 |
[13:12:18][Step 1/1] 33 | // Sign this input
[13:12:18][Step 1/1] > 34 | txBuilder.sign(
[13:12:18][Step 1/1] | ^
[13:12:18][Step 1/1] 35 | index, // vin
[13:12:18][Step 1/1] 36 | utxoECPair, // keyPair
[13:12:18][Step 1/1] 37 | undefined, // redeemScript
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] at getSigningData (node_modules/@bitgo/utxo-lib/src/transaction_builder.ts:1299:13)
[13:12:18][Step 1/1] at UtxoTransactionBuilder.sign (node_modules/@bitgo/utxo-lib/src/transaction_builder.ts:278:7)
[13:12:18][Step 1/1] at UtxoTransactionBuilder.sign (node_modules/@bitgo/utxo-lib/src/bitgo/UtxoTransactionBuilder.ts:94:20)
[13:12:18][Step 1/1] at sign (src/transactions/index.js:34:19)
[13:12:18][Step 1/1] at Array.forEach (<anonymous>)
[13:12:18][Step 1/1] at forEach (src/transactions/index.js:19:12)
[13:12:18][Step 1/1] at signInputs (src/transactions/index.js:108:5)
[13:12:18][Step 1/1] at send (src/components/Send/SendXec.js:491:40)
[13:12:18][Step 1/1] at send (src/components/Send/SendXec.js:248:13)
[13:12:18][Step 1/1] at checkForConfirmationBeforeSendXec (src/components/Send/SendXec.js:1101:21)
[13:12:18][Step 1/1] at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:4164:14)
[13:12:18][Step 1/1] at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:18][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:18][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:18][Step 1/1] at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:18][Step 1/1] at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:18][Step 1/1] at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:18][Step 1/1] at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:4213:16)
[13:12:18][Step 1/1] at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4277:31)
[13:12:18][Step 1/1] at invokeGuardedCallbackAndCatchFirstError (node_modules/react-dom/cjs/react-dom.development.js:4291:25)
[13:12:18][Step 1/1] at executeDispatch (node_modules/react-dom/cjs/react-dom.development.js:9041:3)
[13:12:18][Step 1/1] at processDispatchQueueItemsInOrder (node_modules/react-dom/cjs/react-dom.development.js:9073:7)
[13:12:18][Step 1/1] at processDispatchQueue (node_modules/react-dom/cjs/react-dom.development.js:9086:5)
[13:12:18][Step 1/1] at dispatchEventsForPlugins (node_modules/react-dom/cjs/react-dom.development.js:9097:3)
[13:12:18][Step 1/1] at node_modules/react-dom/cjs/react-dom.development.js:9288:12
[13:12:18][Step 1/1] at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:26140:12)
[13:12:18][Step 1/1] at batchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:3991:12)
[13:12:18][Step 1/1] at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom.development.js:9287:3)
[13:12:18][Step 1/1] at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (node_modules/react-dom/cjs/react-dom.development.js:6465:5)
[13:12:18][Step 1/1] at dispatchEvent (node_modules/react-dom/cjs/react-dom.development.js:6457:5)
[13:12:18][Step 1/1] at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom.development.js:6430:5)
[13:12:18][Step 1/1] at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
[13:12:18][Step 1/1] at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
[13:12:18][Step 1/1] at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
[13:12:18][Step 1/1] at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
[13:12:18][Step 1/1] at HTMLButtonElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
[13:12:18][Step 1/1] at HTMLButtonElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
[13:12:18][Step 1/1] at node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:43
[13:12:18][Step 1/1] at node_modules/@testing-library/react/dist/pure.js:108:16
[13:12:18][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:47:24
[13:12:18][Step 1/1] at act (node_modules/react/cjs/react.development.js:2512:16)
[13:12:18][Step 1/1] at node_modules/@testing-library/react/dist/act-compat.js:46:25
[13:12:18][Step 1/1] at Object.eventWrapper (node_modules/@testing-library/react/dist/pure.js:107:28)
[13:12:18][Step 1/1] at Object.wrapEvent (node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:6:28)
[13:12:18][Step 1/1] at Object.dispatchEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:45:22)
[13:12:18][Step 1/1] at Object.dispatchUIEvent (node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:22:26)
[13:12:18][Step 1/1] at Mouse.up (node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js:100:30)
[13:12:18][Step 1/1] at PointerHost.release (node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:84:28)
[13:12:18][Step 1/1] at pointerAction (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:59:47)
[13:12:18][Step 1/1] at Object.pointer (node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:32:9)
[13:12:18][Step 1/1] at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:88:22)
[13:12:18][Step 1/1] at Object.<anonymous> (src/components/Send/__tests__/SendXec.test.js:1576:9)
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] -----------------------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[13:12:18][Step 1/1] File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
[13:12:18][Step 1/1] -----------------------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[13:12:18][Step 1/1] All files | 80.28 | 75.48 | 73.55 | 80.54 |
[13:12:18][Step 1/1] src | 2.98 | 5.35 | 4.76 | 2.98 |
[13:12:18][Step 1/1] index.js | 0 | 0 | 100 | 0 | 13-27
[13:12:18][Step 1/1] service-worker.js | 0 | 0 | 0 | 0 | 18-88
[13:12:18][Step 1/1] serviceWorkerRegistration.js | 5.12 | 9.37 | 6.25 | 5.12 | 30-143
[13:12:18][Step 1/1] src/airdrop | 97.87 | 95.74 | 100 | 97.87 |
[13:12:18][Step 1/1] index.js | 97.87 | 95.74 | 100 | 97.87 | 117,181
[13:12:18][Step 1/1] src/airdrop/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] vectors.js | 0 | 0 | 0 | 0 |
[13:12:18][Step 1/1] src/alias | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] index.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/alias/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/assets/styles | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] theme.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/chronik | 91.95 | 92.37 | 73.91 | 92.15 |
[13:12:18][Step 1/1] index.js | 91.95 | 92.37 | 73.91 | 92.15 | 15-22,35-44,51-60,287-292,357,373,432,660-661
[13:12:18][Step 1/1] src/chronik/fixtures | 100 | 75 | 100 | 100 |
[13:12:18][Step 1/1] chronikMintTxs.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] chronikUtxos.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 75 | 100 | 100 | 17080-18102
[13:12:18][Step 1/1] vectors.js | 0 | 0 | 0 | 0 |
[13:12:18][Step 1/1] src/components/Airdrop | 82.44 | 88.88 | 84.61 | 82.25 |
[13:12:18][Step 1/1] Airdrop.js | 82.44 | 88.88 | 84.61 | 82.25 | 60-64,155-159,164,172-178,204-214,241-242,254,268,376,495
[13:12:18][Step 1/1] src/components/Alias | 47.79 | 45.54 | 40.62 | 48.38 |
[13:12:18][Step 1/1] Alias.js | 47.79 | 45.54 | 40.62 | 48.38 | 48,53,57,143-164,176,190-195,199-257,261-262,266,270-343,347-358,388,421,428-431,519,533-600,709
[13:12:18][Step 1/1] src/components/Alias/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/components/App | 98.13 | 95.71 | 97.22 | 98.11 |
[13:12:18][Step 1/1] App.js | 98.09 | 95.71 | 97.18 | 98.07 | 735,826
[13:12:18][Step 1/1] NotFound.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/components/App/fixtures | 92.68 | 81.15 | 94.44 | 92.68 |
[13:12:18][Step 1/1] CashtabTestWrapper.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] helpers.js | 88.88 | 81.81 | 87.5 | 88.88 | 90-117,254
[13:12:18][Step 1/1] mocks.js | 100 | 50 | 100 | 100 | 2266
[13:12:18][Step 1/1] vectors.js | 0 | 0 | 0 | 0 |
[13:12:18][Step 1/1] src/components/AppModes | 14.77 | 8.82 | 18.18 | 14.94 |
[13:12:18][Step 1/1] Extension.js | 4 | 0 | 0 | 4 | 13-131
[13:12:18][Step 1/1] WebApp.js | 28.94 | 13.04 | 40 | 29.72 | 20-41,50-76,89-91,96-98
[13:12:18][Step 1/1] src/components/BackupWallet | 92.85 | 50 | 66.66 | 92.85 |
[13:12:18][Step 1/1] BackupWallet.js | 92.85 | 50 | 66.66 | 92.85 | 74
[13:12:18][Step 1/1] src/components/Common | 82.5 | 63.22 | 78.51 | 82.75 |
[13:12:18][Step 1/1] ApiError.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] Atoms.js | 87.5 | 100 | 70 | 87.5 | 9,55,86
[13:12:18][Step 1/1] BalanceHeader.js | 100 | 81.81 | 100 | 100 | 50-52,56
[13:12:18][Step 1/1] BalanceHeaderToken.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] CopyToClipboard.js | 77.77 | 62.5 | 100 | 77.77 | 27-30
[13:12:18][Step 1/1] CustomIcons.js | 91.46 | 100 | 81.57 | 94.52 | 62,65,77,230
[13:12:18][Step 1/1] EnhancedInputs.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] ExtensionHeader.js | 63.63 | 100 | 0 | 63.63 | 49-56
[13:12:18][Step 1/1] GoogleAnalytics.js | 42.85 | 40 | 14.28 | 42.85 | 14-16,23-33
[13:12:18][Step 1/1] HideBalanceSwitch.js | 80 | 100 | 50 | 80 | 14
[13:12:18][Step 1/1] Inputs.js | 82.52 | 51.57 | 85.1 | 82.52 | 297,428-438,507-514,519-523,529-531,539
[13:12:18][Step 1/1] Modal.js | 100 | 93.75 | 100 | 100 | 98
[13:12:18][Step 1/1] PrimaryButton.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] ScanQRCode.js | 63.63 | 45 | 75 | 63.63 | 38,56-102,117
[13:12:18][Step 1/1] Seed.js | 46.15 | 100 | 0 | 46.15 | 23-40
[13:12:18][Step 1/1] ServiceWorkerWrapper.js | 57.14 | 50 | 40 | 57.14 | 15-16,24-26,33
[13:12:18][Step 1/1] StyledCollapse.js | 94.44 | 33.33 | 90 | 94.44 | 48
[13:12:18][Step 1/1] Switch.js | 100 | 92.3 | 100 | 100 | 105,109
[13:12:18][Step 1/1] UpgradeModal.js | 39.13 | 0 | 0 | 39.13 | 26,43-45,49-52,55-60,69-73,78
[13:12:18][Step 1/1] WalletLabel.js | 62.5 | 0 | 70 | 62.5 | 55-77,85
[13:12:18][Step 1/1] src/components/Configure | 81 | 82.01 | 82.4 | 80.95 |
[13:12:18][Step 1/1] Configure.js | 81 | 82.01 | 82.4 | 80.95 | 474-475,478-480,526,626-633,671-674,704-710,731,738-741,755-756,780,809,816-819,826-828,837,859,878,884,892,901,909,924-927,935-936,941,963-986,996,1016-1018,1023,1034,1064-1066,1075,1101,1111,1141,1161,1185,1207,1295,1469,1516
[13:12:18][Step 1/1] src/components/Configure/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/components/Etokens | 58.23 | 51.02 | 48.93 | 58.7 |
[13:12:18][Step 1/1] CreateToken.js | 100 | 75 | 100 | 100 | 30-36
[13:12:18][Step 1/1] CreateTokenForm.js | 51.17 | 47.5 | 35.13 | 51.65 | 60-62,84,145,149-178,183,187-267,272-286,306,311,339,344,370-374,386-389,450-500,508,559-562,573,673-713
[13:12:18][Step 1/1] Etokens.js | 100 | 62.5 | 100 | 100 | 36-55
[13:12:18][Step 1/1] TokenIcon.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] TokenList.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] TokenListItem.js | 100 | 50 | 100 | 100 | 52
[13:12:18][Step 1/1] src/components/Etokens/icons | 2.56 | 0 | 0 | 2.77 |
[13:12:18][Step 1/1] cropImage.js | 2.32 | 0 | 0 | 2.5 | 6-81
[13:12:18][Step 1/1] resizeImage.js | 2.77 | 0 | 0 | 3.03 | 6-55
[13:12:18][Step 1/1] roundImage.js | 2.63 | 0 | 0 | 2.85 | 6-60
[13:12:18][Step 1/1] src/components/Home | 74.34 | 59.41 | 52.7 | 74.34 |
[13:12:18][Step 1/1] Home.js | 51.61 | 61.11 | 11.76 | 51.61 | 28-48,60-76,86-103
[13:12:18][Step 1/1] Tx.js | 79.48 | 59.21 | 63.63 | 79.48 | 61,71,76-78,86,93-95,105,224-236,241,247,314,441,474,883-929
[13:12:18][Step 1/1] TxHistory.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/components/Home/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/components/OnBoarding | 83.87 | 83.33 | 83.33 | 83.33 |
[13:12:18][Step 1/1] OnBoarding.js | 83.87 | 83.33 | 83.33 | 83.33 | 55,67-69,97
[13:12:18][Step 1/1] src/components/Receive | 97.01 | 96 | 91.66 | 96.92 |
[13:12:18][Step 1/1] QRCode.js | 97.5 | 100 | 93.75 | 97.43 | 126
[13:12:18][Step 1/1] Receive.js | 100 | 91.66 | 100 | 100 | 29
[13:12:18][Step 1/1] useWindowDimensions.js | 88.88 | 100 | 80 | 87.5 | 25
[13:12:18][Step 1/1] src/components/Send | 84.7 | 79.59 | 82.27 | 84.35 |
[13:12:18][Step 1/1] SendToken.js | 77.29 | 73.5 | 71.42 | 76.84 | 215-230,253,274,286,338-339,425-435,440-442,452,460-461,465,505,515,568-570,590,623,656-822,902-908
[13:12:18][Step 1/1] SendXec.js | 90.98 | 82.74 | 90.9 | 90.75 | 258,274-279,295-308,416-428,444,471,523-526,702,743,965,1004-1026
[13:12:18][Step 1/1] src/components/Send/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/components/SignVerifyMsg | 88.23 | 69.56 | 90.9 | 89.36 |
[13:12:18][Step 1/1] SignVerifyMsg.js | 88.23 | 69.56 | 90.9 | 89.36 | 100-101,130-131,156
[13:12:18][Step 1/1] src/components/Swap | 80 | 50 | 50 | 80 |
[13:12:18][Step 1/1] Swap.js | 80 | 50 | 50 | 80 | 21
[13:12:18][Step 1/1] src/config | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] CashtabCache.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] CashtabState.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] alias.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] app.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] cashtabSettings.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] chronik.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] explorer.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] opreturn.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] token.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] tokenBlacklist.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/helpers | 97.14 | 92.85 | 100 | 97.14 |
[13:12:18][Step 1/1] index.js | 97.14 | 92.85 | 100 | 97.14 | 150
[13:12:18][Step 1/1] src/helpers/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] vectors.js | 0 | 0 | 0 | 0 |
[13:12:18][Step 1/1] src/opreturn | 96.8 | 94.44 | 100 | 96.8 |
[13:12:18][Step 1/1] index.js | 96.8 | 94.44 | 100 | 96.8 | 152,168-169,304
[13:12:18][Step 1/1] src/opreturn/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] vectors.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/slpv1 | 95.32 | 89.09 | 100 | 95.32 |
[13:12:18][Step 1/1] index.js | 95.32 | 89.09 | 100 | 95.32 | 264,275,327,331,336
[13:12:18][Step 1/1] src/slpv1/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] ##teamcity[importData timestamp='2024-04-04T13:12:18.387' path='results/artifacts/junit/*.xml' type='junit']
[13:12:18][Step 1/1] Importing data from 'results/artifacts/junit/*.xml' (not existing file) with 'junit' processor
[13:12:18][Step 1/1] Publishing artifacts (20s)
[13:12:18][Publishing artifacts] Collecting files to publish: [+:results/artifacts=>artifacts.tar.gz]
[13:12:18][Publishing artifacts] Creating archive artifacts.tar.gz
[13:12:18][Creating archive artifacts.tar.gz] Creating /home/teamcity/buildAgent/temp/buildTmp/TarPreprocessor1385172677581647844/artifacts.tar.gz
[13:12:18][Step 1/1] Ant JUnit report watcher
[13:12:18][Ant JUnit report watcher] Watching paths:
[13:12:18][Ant JUnit report watcher] /home/teamcity/buildAgent/work/jailed-build/results/artifacts/junit/*.xml
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken genesis tx target outputs getSlpGenesisTargetOutput: Fixed supply eToken mint for token with decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken genesis tx target outputs getSlpGenesisTargetOutput: Variable supply eToken mint for token with decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken genesis tx target outputs getSlpGenesisTargetOutput: Fixed supply eToken mint for tokenId 50d8292c6255cda7afc6c8566fed3cf42a2794e9619740fe8f4c95431271410e
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken genesis tx target outputs getSlpGenesisTargetOutput: Fixed supply eToken mint at max supply for 9 decimal token
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken genesis tx target outputs getSlpGenesisTargetOutput: Variable supply eToken mint at max supply for 0 decimal token
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken genesis tx target outputs getSlpGenesisTargetOutput throws error for: Variable supply eToken with mint baton at index other than 2
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken genesis tx target outputs getSlpGenesisTargetOutput throws error for: Exceed 0xffffffffffffffff for genesis qty
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken genesis tx target outputs getSlpGenesisTargetOutput throws error for: Invalid document hash
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken genesis tx target outputs getSlpGenesisTargetOutput throws error for: Missing decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken genesis tx target outputs getSlpGenesisTargetOutput throws error for: Non-string name
[13:12:18][CashTab Unit Tests] slpv1 methods Get all slpv1 SEND utxos from a mixed utxo set from ChronikClientNode getAllSendUtxos: In-node: We can get a single token utxo from an array including other token utxos and non-token utxos
[13:12:18][CashTab Unit Tests] slpv1 methods Get all slpv1 SEND utxos from a mixed utxo set from ChronikClientNode getAllSendUtxos: In-node: We can get a multiple token utxos from an array including other token utxos and non-token utxos
[13:12:18][CashTab Unit Tests] slpv1 methods Get all slpv1 SEND utxos from a mixed utxo set from ChronikClientNode getAllSendUtxos: We return an empty array if no matches are found from a bad tokenId
[13:12:18][CashTab Unit Tests] slpv1 methods Get all slpv1 SEND utxos from a mixed utxo set from ChronikClientNode getAllSendUtxos: In-node: We return an empty array if we have no tokenUtxos for a given tokenId
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send token inputs and outputs from in-node chronik-client getSendTokenInputs: Token send with change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send token inputs and outputs from in-node chronik-client getSlpSendTargetOutputs with in-node inputs: Token send with change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send token inputs and outputs from in-node chronik-client getSendTokenInputs: Token send with no change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send token inputs and outputs from in-node chronik-client getSlpSendTargetOutputs with in-node inputs: Token send with no change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send token inputs and outputs from in-node chronik-client getSendTokenInputs: Token send with decimals and change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send token inputs and outputs from in-node chronik-client getSlpSendTargetOutputs with in-node inputs: Token send with decimals and change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send token inputs and outputs from in-node chronik-client getSlpBurnTargetOutput throws error for: Sending more than utxos with decimals and change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send token inputs and outputs from in-node chronik-client getSlpBurnTargetOutput throws error for: Sending more than utxos with no decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send token inputs and outputs from in-node chronik-client getSlpBurnTargetOutput throws error for: Invalid decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send token inputs and outputs from in-node chronik-client getSlpBurnTargetOutput throws error for: No token utxos
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send token inputs and outputs from in-node chronik-client getSlpBurnTargetOutput throws error for: Send qty is empty string
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send input utxos from in-node chronik-client getSendTokenInputs with in-node chronik utxos: Token send with change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send input utxos from in-node chronik-client getSlpSendTargetOutputs with in-node inputs: Token send with change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send input utxos from in-node chronik-client getSendTokenInputs with in-node chronik utxos: Token send with no change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send input utxos from in-node chronik-client getSlpSendTargetOutputs with in-node inputs: Token send with no change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send input utxos from in-node chronik-client getSendTokenInputs with in-node chronik utxos: Token send with decimals and change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send input utxos from in-node chronik-client getSlpSendTargetOutputs with in-node inputs: Token send with decimals and change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send input utxos from in-node chronik-client getSendTokenInputs with in-node chronik utxos throws error for: Sending more than utxos with decimals and change output
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send input utxos from in-node chronik-client getSendTokenInputs with in-node chronik utxos throws error for: Sending more than utxos with no decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send input utxos from in-node chronik-client getSendTokenInputs with in-node chronik utxos throws error for: Invalid decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send input utxos from in-node chronik-client getSendTokenInputs with in-node chronik utxos throws error for: No token utxos
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 send input utxos from in-node chronik-client getSendTokenInputs with in-node chronik utxos throws error for: Send qty is empty string
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken burn tx target outputs getSlpBurnTargetOutputs: Burn a fraction of balance
[13:12:18][CashTab Unit Tests] slpv1 methods Generating etoken burn tx target outputs getSlpBurnTargetOutputs: Burn all balance
[13:12:18][CashTab Unit Tests] slpv1 methods Generating explicit etoken burn tx target output from in-node utxos getExplicitBurnTargetOutputs: Burn a single token utxo
[13:12:18][CashTab Unit Tests] slpv1 methods Generating explicit etoken burn tx target output from in-node utxos getExplicitBurnTargetOutputs: Burns multiple token utxos
[13:12:18][CashTab Unit Tests] slpv1 methods Generating explicit etoken burn tx target output from in-node utxos getExplicitBurnTargetOutputs: Burns max slp quantity for 9 decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Generating explicit etoken burn tx target output from in-node utxos getExplicitBurnTargetOutputs throws error if called with in-node utxos and no specified decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 mint baton(s) getMintBatons: We can get a single mint baton
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 mint baton(s) getMintBatons: We can get the correct mint baton from from an array including other token utxos, mint batons, and non-token utxos
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 mint baton(s) getMintBatons: We can get multiple mint batons
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 mint baton(s) getMintBatons: We return an empty array if no matches are found from a bad tokenId
[13:12:18][CashTab Unit Tests] slpv1 methods Get slpv1 mint baton(s) getMintBatons: We return an empty array if we have no mint batons for a given tokenId
[13:12:18][CashTab Unit Tests] slpv1 methods Generate target outputs for an slpv1 mint tx getMintTargetOutputs: Creates expected mint outputs for a 0-decimal token
[13:12:18][CashTab Unit Tests] slpv1 methods Generate target outputs for an slpv1 mint tx getMintTargetOutputs: Creates expected mint outputs for a 9-decimal token
[13:12:18][CashTab Unit Tests] slpv1 methods Generate target outputs for an slpv1 mint tx getMintTargetOutputs: Can create a target output for the largest mint qty supported by slpv1
[13:12:18][CashTab Unit Tests] slpv1 methods Generate target outputs for an slpv1 mint tx getMintTargetOutputs throws error for: Throws expected error if asked to mint 1 more than slpv1 max qty
[13:12:18][CashTab Unit Tests] slpv1 methods Gets max mint amount, decimalized getMaxMintAmount: 0 decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Gets max mint amount, decimalized getMaxMintAmount: 1 decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Gets max mint amount, decimalized getMaxMintAmount: 2 decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Gets max mint amount, decimalized getMaxMintAmount: 3 decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Gets max mint amount, decimalized getMaxMintAmount: 4 decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Gets max mint amount, decimalized getMaxMintAmount: 5 decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Gets max mint amount, decimalized getMaxMintAmount: 6 decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Gets max mint amount, decimalized getMaxMintAmount: 7 decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Gets max mint amount, decimalized getMaxMintAmount: 8 decimals
[13:12:18][CashTab Unit Tests] slpv1 methods Gets max mint amount, decimalized getMaxMintAmount: 9 decimals
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] Correctly prepares Cashtab mocked chronik client and localforage environment for Cashtab pre 1.7.* for unit tests initializeCashtabStateAtLegacyWalletKeysForTests mocks a new Cashtab user or incognito visitor
[13:12:18][CashTab Unit Tests] Correctly prepares Cashtab mocked chronik client and localforage environment for Cashtab pre 1.7.* for unit tests initializeCashtabStateAtLegacyWalletKeysForTests: Wallet with xec and tokens
[13:12:18][CashTab Unit Tests] Correctly prepares Cashtab mocked chronik client and localforage environment for unit tests initializeCashtabStateForTests mocks a new Cashtab user or incognito visitor
[13:12:18][CashTab Unit Tests] Correctly prepares Cashtab mocked chronik client and localforage environment for unit tests initializeCashtabStateForTests: Wallet with xec and tokens
[13:12:18][CashTab Unit Tests] Correctly prepares Cashtab mocked chronik client and localforage environment for unit tests initializeCashtabStateForTests: Multiple wallets
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidSideshiftObj() returns true for a valid sideshift library object
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidSideshiftObj() returns false if the sideshift library object failed to instantiate
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidSideshiftObj() returns false for an invalid sideshift library object
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidRecipient() returns true for a valid and registered alias input
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidRecipient() returns false for a valid but unregistered alias input
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidRecipient() returns false for an invalid eCash address / alias input
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidRecipient() returns true for a valid eCash address
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidRecipient() returns true for a valid prefix-less eCash address
[13:12:18][CashTab Unit Tests] Cashtab validation functions validateMnemonic() returns true for a valid mnemonic
[13:12:18][CashTab Unit Tests] Cashtab validation functions validateMnemonic() returns false for an invalid mnemonic
[13:12:18][CashTab Unit Tests] Cashtab validation functions validateMnemonic() returns false for an empty string mnemonic
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts a valid eToken token name
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts a valid eToken token name that is a stringified number
[13:12:18][CashTab Unit Tests] Cashtab validation functions Rejects eToken token name if longer than 68 characters
[13:12:18][CashTab Unit Tests] Cashtab validation functions Rejects eToken token name if empty string
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts a 4-char eToken token ticker
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts a 12-char eToken token ticker
[13:12:18][CashTab Unit Tests] Cashtab validation functions Rejects eToken token ticker if empty string
[13:12:18][CashTab Unit Tests] Cashtab validation functions Rejects eToken token ticker if > 12 chars
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts tokenDecimals if zero
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts tokenDecimals if between 0 and 9 inclusive
[13:12:18][CashTab Unit Tests] Cashtab validation functions Rejects tokenDecimals if empty string
[13:12:18][CashTab Unit Tests] Cashtab validation functions Rejects tokenDecimals if non-integer
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts a valid eToken token document URL
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts a valid eToken token document URL including special URL characters
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts a blank string as a valid eToken token document URL
[13:12:18][CashTab Unit Tests] Cashtab validation functions Rejects eToken token name if longer than 68 characters
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts a domain input with https protocol as eToken token document URL
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts a domain input with http protocol as eToken token document URL
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts a domain input with a primary and secondary top level domain as eToken token document URL
[13:12:18][CashTab Unit Tests] Cashtab validation functions Accepts a domain input with just a subdomain as eToken token document URL
[13:12:18][CashTab Unit Tests] Cashtab validation functions Rejects a domain input with no top level domain, protocol or subdomain eToken token document URL
[13:12:18][CashTab Unit Tests] Cashtab validation functions Rejects a domain input as numbers eToken token document URL
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidTokenId accepts valid token ID that is 64 chars in length
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidTokenId rejects a token ID that is less than 64 chars in length
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidTokenId rejects a token ID that is more than 64 chars in length
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidTokenId rejects a token ID number that is 64 digits in length
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidTokenId rejects null
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidTokenId rejects undefined
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidTokenId rejects empty string
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidTokenId rejects special character input
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidTokenId rejects non-alphanumeric input
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidXecAirdrop accepts valid Total Airdrop Amount
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidXecAirdrop rejects null
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidXecAirdrop rejects undefined
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidXecAirdrop rejects empty string
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidTokenId rejects an alphanumeric input
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidTokenId rejects a number !> 0 in string format
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidAirdropExclusionArray accepts a valid airdrop exclusion list
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidAirdropExclusionArray rejects an invalid airdrop exclusion list
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidAirdropExclusionArray rejects a list of addresses if any are not prefixed
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidAirdropExclusionArray rejects an empty airdrop exclusion list
[13:12:18][CashTab Unit Tests] Cashtab validation functions isValidAirdropExclusionArray rejects a null airdrop exclusion list
[13:12:18][CashTab Unit Tests] Cashtab validation functions accepts a valid wallet name
[13:12:18][CashTab Unit Tests] Cashtab validation functions rejects wallet name that is too long
[13:12:18][CashTab Unit Tests] Cashtab validation functions rejects blank string as new wallet name
[13:12:18][CashTab Unit Tests] Cashtab validation functions rejects wallet name of the wrong type
[13:12:18][CashTab Unit Tests] Cashtab validation functions isProbablyNotAScam recognizes "bitcoin" is probably a scam token name
[13:12:18][CashTab Unit Tests] Cashtab validation functions isProbablyNotAScam recognizes "ebitcoin" is probably a scam token name
[13:12:18][CashTab Unit Tests] Cashtab validation functions isProbablyNotAScam recognizes "Lido Staked Ether", from coingeckoTop500Names, is probably a scam token name
[13:12:18][CashTab Unit Tests] Cashtab validation functions isProbablyNotAScam recognizes 'matic-network', from coingeckoTop500Ids, is probably a scam token name
[13:12:18][CashTab Unit Tests] Cashtab validation functions isProbablyNotAScam recognizes 'Australian Dollar', from Cashtab supported fiat currencies, is probably a scam token name
[13:12:18][CashTab Unit Tests] Cashtab validation functions isProbablyNotAScam recognizes 'ebtc', from bannedTickers, is probably a scam token name
[13:12:18][CashTab Unit Tests] Cashtab validation functions isProbablyNotAScam recognizes 'gbp', from bannedTickers, is probably a scam
[13:12:18][CashTab Unit Tests] Cashtab validation functions isProbablyNotAScam recognizes 'Hong Kong Dollar', from fiatNames, is probably a scam
[13:12:18][CashTab Unit Tests] Cashtab validation functions isProbablyNotAScam recognizes '₪', from fiat symbols, is probably a scam
[13:12:18][CashTab Unit Tests] Cashtab validation functions isProbablyNotAScam recognizes an ordinary token name as acceptable
[13:12:18][CashTab Unit Tests] Cashtab validation functions isProbablyNotAScam accepts a token name with fragments of banned potential scam names
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled on startup
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled if address has been entered but no amount
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled if amount has been entered but no address
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Enabled for valid address and amount in send to one mode
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled for valid address and amount entered in send to one mode, but app is in send to many mode and input is blank
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled on zero balance for send to one
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled on zero balance for send to many
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled for invalid address
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled for invalid amount
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled for invalid cashtab msg send to one if user has cashtab msg enabled
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Enabled for invalid cashtab msg send to one if user has cashtab msg disabled
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled for invalid op_return_raw send to one if user has op_return_raw enabled
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Enabled for invalid op_return_raw if user has op_return_raw disabled
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled for invalid opreturn msg send to many if cashtab msg is invalid and enabled
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled on priceApi error
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Enabled if isOneToManyXECSend and amount is not entered
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determining whether Send button should be disabled on SendXec screen shouldSendXecBeDisabled: Disabled if isOneToManyXECSend and we have a multiSendAddressError
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Blank string
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Address only and no querystring
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: prefixless address input
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: alias only and no querystring
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: alias missing .xec suffix
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Valid address with valid amount param equal to user balance, no decimals
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Valid address with valid amount param exceeding user balance by one satoshi, no decimals
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Valid address with valid amount param, with decimals
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Invalid address with valid amount param
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: etoken address with valid amount param
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Valid address with invalid amount param (too many decimal places)
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Valid alias with valid amount param
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Invalid alias with valid amount param
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Valid address with valid op_return_raw param
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Valid alias with valid op_return_raw param
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Valid address with invalid op_return_raw param
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Valid amount and op_return_raw params
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: invalid querystring (unsupported params)
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Invalid queryString, repeated param
[13:12:18][CashTab Unit Tests] Cashtab validation functions Parses user input address strings with parseAddressInput parseAddressInput: Repeated op_return_raw param
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns true for a valid lowercase alphanumeric input
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns expected error if input contains uppercase char
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns expected error if input contains special char
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns expected error if input contains emoji
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns expected error if input contains other special characters
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns expected error if input is an empty string
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns expected error if input contains an empty space
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns expected error if input contains symbols
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns expected error if input is not a string
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns expected error if input contains underscores
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns expected error if exceeds byte restriction
[13:12:18][CashTab Unit Tests] Cashtab validation functions Returns true if a given input meets alias spec or expected error msg if it does not meetsAliasSpec: returns true for an alias of max bytecount
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates user alias input on Send and SendToken screens isValidAliasSendInput: Valid alias send input
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates user alias input on Send and SendToken screens isValidAliasSendInput: Valid alias missing prefix
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates user alias input on Send and SendToken screens isValidAliasSendInput: Valid alias with double suffix
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates user alias input on Send and SendToken screens isValidAliasSendInput: Valid alias with bad suffix
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates user alias input on Send and SendToken screens isValidAliasSendInput: Invalid alias (too long)
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates user alias input on Send and SendToken screens isValidAliasSendInput: Invalid alias (nonalphanumeric)
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validating Cashtab Contact Lists isValidContactList: Legacy empty contact list
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validating Cashtab Contact Lists isValidContactList: Empty contact list
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validating Cashtab Contact Lists isValidContactList: Array of more than one empty object is invalid
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validating Cashtab Contact Lists isValidContactList: List with one valid entry
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validating Cashtab Contact Lists isValidContactList: Multiple valid entries
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validating Cashtab Contact Lists isValidContactList: Valid objects but also an empty object is false
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validating Cashtab Contact Lists isValidContactList: Valid alias formats are accepted
[13:12:18][CashTab Unit Tests] Cashtab validation functions Appropriately migrates users with legacy settings migrateLegacyCashtabSettings: Migrates a 1.4.x user to 1.5.0 settings
[13:12:18][CashTab Unit Tests] Cashtab validation functions Appropriately migrates users with legacy settings migrateLegacyCashtabSettings: User with only fiatCurrency in settings
[13:12:18][CashTab Unit Tests] Cashtab validation functions Appropriately migrates users with legacy settings migrateLegacyCashtabSettings: Migrates an empty object to default settings
[13:12:18][CashTab Unit Tests] Cashtab validation functions Appropriately migrates users with legacy settings migrateLegacyCashtabSettings: Returns object unchanged if it has all expected keys
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if the user has valid cashtab settings isValidCashtabSettings: A 1.4.x settings object is invalid
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if the user has valid cashtab settings isValidCashtabSettings: A 1.5.0 settings object is valid
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if the user has valid cashtab settings isValidCashtabSettings: Rejects an otherwise-valid settings object if the currency is not supported
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if the user has valid cashtab settings isValidCashtabSettings: Rejects an otherwise-valid settings object if a ticker is misnamed
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if the user has valid cashtab settings isValidCashtabSettings: Rejects an otherwise-valid settings object if it is from before the introduction of sendModal
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if cashtabCache is valid or invalid isValidCashtabCache: Returns false for legacy cashtabCache
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if cashtabCache is valid or invalid isValidCashtabCache: Returns false if there is not a map at tokens key
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if cashtabCache is valid or invalid isValidCashtabCache: Returns false for cashtabCache before 2.9.0
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if cashtabCache is valid or invalid isValidCashtabCache: Returns false for current version cashtabCache if it is missing the unknown token id
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if cashtabCache is valid or invalid isValidCashtabCache: Returns true for current version cashtabCache
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if cashtabCache is valid or invalid isValidCashtabCache: Returns true for current version cashtabCache if blocks key is missing
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if cashtabCache is valid or invalid isValidCashtabCache: Returns true for default cashtabCache
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns true for a valid Cashtab wallet
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false for a JSON-loaded pre-2.9.0 Cashtab wallet
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false for a pre-2.9.0 Cashtab wallet
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if not an object
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if false (used to indicate no wallet yet set)
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if wallet is missing state
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if wallet is missing mnemonic
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if wallet is missing name
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if wallet is missing paths
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if wallet is missing hash in path1899 path object
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if wallet is missing address in path1899 path object
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if wallet is missing address in path1899 path object
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns true for a multi-path wallet
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if wallet is missing wif in a secondary path object
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if wallet has no path info objects
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if wallet.state is not an object
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if no balanceSats in wallet.state
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if balances in wallet.state
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if balanceSats is not a number
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if no slpUtxos in wallet.state
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if no nonSlpUtxos in wallet.state
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if no tokens in wallet.state
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if hydratedUtxoDetails is in wallet.state
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a cashtab wallet is valid or invalid isValidCashtabWallet: Returns false if slpBalancesAndUtxos is in wallet.state
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: Dust minimum is valid
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: 1 satoshi below dust min is invalid
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: 0 is not a valid send amount
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A value with one decimal place not exceeding user balance is accepted
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A value with two decimal places not exceeding user balance is accepted
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A value with more than two decimal places not exceeding user balance is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A value using a decimal marker other than "." is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A non-number string is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: null is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: undefined is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A value including non-numerical characters is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A value exactly matching wallet balance is accepted
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A value exceeding wallet balance by 1 satoshi is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A fiat value that converts to less than the user total balance is accepted
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A fiat value that converts to one satoshi more than the user total balance is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A fiat value that converts to more than the user total balance is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send amount is valid isValidXecSendAmount: A fiat value that converts to more than the user total balance is rejected with error formatted in non-default locale
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input multi-send CSV is valid isValidMultiSendUserInput: Accepts correctly formed multisend output for amount exactly equal to wallet total balance
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input multi-send CSV is valid isValidMultiSendUserInput: Rejects correctly formed multisend output for amount exceeding wallet total balance by 1 satoshi
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input multi-send CSV is valid isValidMultiSendUserInput: Accepts correctly formed multisend output for amount exactly equal to wallet total balance if addresses are padded by extra spaces
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input multi-send CSV is valid isValidMultiSendUserInput: Returns expected error msg and line number if string includes an invalid address
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input multi-send CSV is valid isValidMultiSendUserInput: Returns expected error msg for invalid value (dust)
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input multi-send CSV is valid isValidMultiSendUserInput: Returns expected error msg and line numberfor invalid value (too many decimal places)
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input multi-send CSV is valid isValidMultiSendUserInput: Returns expected error msg for an empty input
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input multi-send CSV is valid isValidMultiSendUserInput: Returns expected error msg and line number for an empty row
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input multi-send CSV is valid isValidMultiSendUserInput: Returns expected error msg for non-string input
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input multi-send CSV is valid isValidMultiSendUserInput: Returns expected error msg and line number if csv line does not include address and value
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input multi-send CSV is valid isValidMultiSendUserInput: Returns expected error msg and line number if a line has more than one comma
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: A decimalized string with no decimals equivalent to the user balance of this token is valid for a token with no decimals
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: 0 is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: Blank input is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: Rejects non-string input
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: Rejects input including a decimal marker other than "."
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: Rejects input multiple decimal points
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: Rejects input multiple consecutive decimal points
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: Rejects input containing non-decimal characters
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: We cannot send a token satoshi more than tokenBalance
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: We get non-plural error msg if token supports only 1 decimal place
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: We cannot specify more decimal places than supported by the token
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: We cannot have decimals for a token supporting 0 decimals
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: We can specify fewer decimal places than supported by the token
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: We can specify the exact decimal places supported by the token
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: We can include a decimal point at the end of the string and no decimal places
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input send or burn token amount is valid isValidTokenSendOrBurnAmount: We can include a decimal point at the end of the string and no decimal places, even if the token supports 0 decimals
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: A decimalized string with no decimals is valid for a token with no decimals
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: 0 is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: Blank input is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: Rejects non-string input
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: Rejects input including a decimal marker other than "."
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: Rejects input with multiple decimal points
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: Rejects input multiple consecutive decimal points
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: Rejects input containing non-decimal characters
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: We get non-plural error msg if token supports only 1 decimal place
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: We cannot specify more decimal places than supported by the token
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: We cannot have decimals for a token supporting 0 decimals
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: We can specify fewer decimal places than supported by the token
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: We can specify the exact decimal places supported by the token
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: We can include a decimal point at the end of the string and no decimal places
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: We can include a decimal point at the end of the string and no decimal places, even if the token supports 0 decimals
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: We accept the max mint amount
[13:12:18][CashTab Unit Tests] Cashtab validation functions Determines if a user input token mint amount is valid isValidTokenMintAmount: We reject one token satoshi more than the max mint amount
[13:12:18][CashTab Unit Tests] Cashtab validation functions Can tell if a string is valid bip21 op_return_raw input, or why it is not getOpReturnRawError: Valid lowercase hex of max length is good
[13:12:18][CashTab Unit Tests] Cashtab validation functions Can tell if a string is valid bip21 op_return_raw input, or why it is not getOpReturnRawError: Valid lowercase hex of 1 more than max length is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Can tell if a string is valid bip21 op_return_raw input, or why it is not getOpReturnRawError: Valid lowercase hex of max length that starts with "6a" is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Can tell if a string is valid bip21 op_return_raw input, or why it is not getOpReturnRawError: Valid hex of odd length below max is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Can tell if a string is valid bip21 op_return_raw input, or why it is not getOpReturnRawError: Uppercase hex is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Can tell if a string is valid bip21 op_return_raw input, or why it is not getOpReturnRawError: Even-length string containing non-hex characters is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Can tell if a string is valid bip21 op_return_raw input, or why it is not getOpReturnRawError: Even-length string containing a space is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Can tell if a string is valid bip21 op_return_raw input, or why it is not getOpReturnRawError: Empty string is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Can tell if a string is valid bip21 op_return_raw input, or why it is not getOpReturnRawError: String of even spaces is rejected
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates OP_RETURN raw for eCash node broadcast nodeWillAcceptOpReturnRaw: Rejects a string that starts with 6a
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates OP_RETURN raw for eCash node broadcast nodeWillAcceptOpReturnRaw: Rejects a string that starts with invalid pushdata
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates OP_RETURN raw for eCash node broadcast nodeWillAcceptOpReturnRaw: Rejects non-string input
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates OP_RETURN raw for eCash node broadcast nodeWillAcceptOpReturnRaw: Rejects non-hex input
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates OP_RETURN raw for eCash node broadcast nodeWillAcceptOpReturnRaw: Accepts a valid hex string under max length
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates OP_RETURN raw for eCash node broadcast nodeWillAcceptOpReturnRaw: Accepts a valid hex string of max length
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates OP_RETURN raw for eCash node broadcast nodeWillAcceptOpReturnRaw: Rejects a valid hex string over max length
[13:12:18][CashTab Unit Tests] Cashtab validation functions Validates OP_RETURN raw for eCash node broadcast nodeWillAcceptOpReturnRaw: Rejects a valid hex string of odd length
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Calculates total balance in satoshis from a valid set of chronik utxos getBalanceSats: Kind of a normal balance calculation
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Calculates total balance in satoshis from a valid set of chronik utxos getBalanceSats: Wallet balance of total XEC supply
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Calculates total balance in satoshis from a valid set of chronik utxos getBalanceSats: Empty array returns 0 balance
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Calculates total balance in satoshis from a valid set of chronik utxos getBalanceSats: Array containing valid and invalid chronik utxos returns NaN
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Calculates total balance in satoshis from a valid set of chronik utxos getBalanceSats: Array containing invalid chronik utxos returns NaN
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Calculates total balance in satoshis from a valid set of chronik utxos getBalanceSats throws error for: Call with non-Array
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis Converts satoshis to xec: Total XEC supply
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis Converts xec to satoshis: Total XEC supply
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis Converts satoshis to xec: Total XEC supply less 1 satoshi
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis Converts xec to satoshis: Total XEC supply less 1 satoshi
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis Converts satoshis to xec: 0 is 0
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis Converts xec to satoshis: 0 is 0
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis toXec throws error for: Bad XEC amount, too many decimal places
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis toSatoshis throws error for: Bad XEC amount, too many decimal places
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Determines if the wallet has greater than or equal to a specified qty of a specified token hasEnoughToken: Returns true if wallet has token in exactly required amount
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Determines if the wallet has greater than or equal to a specified qty of a specified token hasEnoughToken: Returns false if wallet has token but less than required amount
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Determines if the wallet has greater than or equal to a specified qty of a specified token hasEnoughToken: Returns false if wallet does not have this token
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Creates a wallet from valid bip39 mnemonic createCashtabWallet: Creates a Cashtab wallet from a valid bip39 mnemonic
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts string input of fiat send amount to satoshis XEC createCashtabWallet: Converts 1 USD from fiat to satoshis for string input
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts string input of fiat send amount to satoshis XEC createCashtabWallet: Converts total XEC supply in USD from fiat to satoshis for string input
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts string input of fiat send amount to satoshis XEC createCashtabWallet: Returns an integer even if input has arbitrarily high decimal precision for string input
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts string input of fiat send amount to satoshis XEC createCashtabWallet: Converts 1 USD from fiat to satoshis for number input
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts string input of fiat send amount to satoshis XEC createCashtabWallet: Converts total XEC supply in USD from fiat to satoshis for number input
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Converts string input of fiat send amount to satoshis XEC createCashtabWallet: Returns an integer even if input has arbitrarily high decimal precision for number input
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Gets legacy paths from a legacy wallet requiring migration getLegacyPaths: Determines legacy paths for a post-2.2.0 wallet with legacy paths
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Gets legacy paths from a legacy wallet requiring migration getLegacyPaths: Determines legacy paths for a post-2.9.0 wallet with legacy paths
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Gets legacy paths from a legacy wallet requiring migration getLegacyPaths: Determines legacy paths for a pre-2.2.0 wallet with legacy paths
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Gets legacy paths from a legacy wallet requiring migration getLegacyPaths: Returns an empty array if the wallet contains no legacy paths
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Gets expected array when activating a new wallet getWalletsForNewActiveWallet: Return expected wallets array
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Gets expected array when activating a new wallet getWalletsForNewActiveWallet: Returns wallets array unchanged if walletToActivate is already wallets[0]
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Gets expected array when activating a new wallet getWalletsForNewActiveWallet throws error for: Throws error if called with a wallet that is not in wallets
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back decimalizeTokenAmount: Decimalizes amount for 0-decimal token amount larger than JS max safe integer
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back undecimalizeTokenAmount: Decimalizes amount for 0-decimal token amount larger than JS max safe integer
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back decimalizeTokenAmount: Decimalizes amount for 9-decimal token amount larger than JS max safe integer
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back undecimalizeTokenAmount: Decimalizes amount for 9-decimal token amount larger than JS max safe integer
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back decimalizeTokenAmount: Decimalizes amount for 9-decimal token amount larger than JS max safe integer with non-zero decimal places
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back undecimalizeTokenAmount: Decimalizes amount for 9-decimal token amount larger than JS max safe integer with non-zero decimal places
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back decimalizeTokenAmount: Decimalizes 0 by adding expected decimal places
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back undecimalizeTokenAmount: Decimalizes 0 by adding expected decimal places
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back decimalizeTokenAmount: Decimalizes a number less than 1 by adding expected decimal places
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back undecimalizeTokenAmount: Decimalizes a number less than 1 by adding expected decimal places
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back decimalizeTokenAmount: Decimalizes smallest amount of slpv1 spec
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back undecimalizeTokenAmount: Decimalizes smallest amount of slpv1 spec
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back decimalizeTokenAmount: Can decimalize for arbitrary decimals, as long as decimals is an integer
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back undecimalizeTokenAmount: Can decimalize for arbitrary decimals, as long as decimals is an integer
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back decimalizeTokenAmount throws error for: Throws error if input is not a string
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back decimalizeTokenAmount throws error for: Throws error if input is not a stringified integer
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can decimalize a token amount string and undecimalize it back decimalizeTokenAmount throws error for: Throws error if decimals is not an integer
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can undecimalize a decimalizedTokenAmount string, and we throw expected errors if undecimalizeTokenAmount is invalid undecimalizeTokenAmount: Returns expected amount for a 0-decimal token that has a decimal point at the end
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can undecimalize a decimalizedTokenAmount string, and we throw expected errors if undecimalizeTokenAmount is invalid undecimalizeTokenAmount: Handles a decimalized amount with no decimal place
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can undecimalize a decimalizedTokenAmount string, and we throw expected errors if undecimalizeTokenAmount is invalid undecimalizeTokenAmount: Handles a decimalized amount with under-specified decimal places
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can undecimalize a decimalizedTokenAmount string, and we throw expected errors if undecimalizeTokenAmount is invalid undecimalizeTokenAmount throws error for: Throws error if decimalizedAmount is not a string
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can undecimalize a decimalizedTokenAmount string, and we throw expected errors if undecimalizeTokenAmount is invalid undecimalizeTokenAmount throws error for: Throws error if decimalizedAmount is an empty string
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can undecimalize a decimalizedTokenAmount string, and we throw expected errors if undecimalizeTokenAmount is invalid undecimalizeTokenAmount throws error for: Throws error if decimalizedAmount includes more than one decimal
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can undecimalize a decimalizedTokenAmount string, and we throw expected errors if undecimalizeTokenAmount is invalid undecimalizeTokenAmount throws error for: Throws error if decimalizedAmount includes a decimal point that is not a period
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can undecimalize a decimalizedTokenAmount string, and we throw expected errors if undecimalizeTokenAmount is invalid undecimalizeTokenAmount throws error for: Throws error if decimalizedAmount includes alphabet characters
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can undecimalize a decimalizedTokenAmount string, and we throw expected errors if undecimalizeTokenAmount is invalid undecimalizeTokenAmount throws error for: Throws error if decimals is invalid
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can undecimalize a decimalizedTokenAmount string, and we throw expected errors if undecimalizeTokenAmount is invalid undecimalizeTokenAmount throws error for: Throws precision error if decimals are over-specified for a 0-decimal token
[13:12:18][CashTab Unit Tests] Cashtab wallet methods We can undecimalize a decimalizedTokenAmount string, and we throw expected errors if undecimalizeTokenAmount is invalid undecimalizeTokenAmount throws error for: Throws precision error if decimals are over-specified for a 9-decimal token
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Removes leading zeros from a string removeLeadingZeros: Removes leading zeros from a number string
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Removes leading zeros from a string removeLeadingZeros: Removes leading zeros from a string of all zeros
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Removes leading zeros from a string removeLeadingZeros: Preserves trailing zeros
[13:12:18][CashTab Unit Tests] Cashtab wallet methods Removes leading zeros from a string removeLeadingZeros: Removes leading zeros and preserves trailing zeros from an arbitrary string
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions flattenChronikTxHistory successfully combines the result of getHistory into a single array
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions getMintAddress successfully parses chronik.tx response to determine mint address for TabCash token
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions getMintAddress successfully parses chronik.tx response to determine mint address for PoW token
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions getMintAddress successfully parses chronik.tx response to determine mint address for Alita token
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions getMintAddress successfully parses chronik.tx response to determine mint address for a BUX self minted token
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Staking rewards coinbase tx
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Incoming XEC tx
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Outgoing XEC tx
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Alias registration
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Incoming eToken
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Incoming eToken that for some reason does not get cached
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Outgoing eToken
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Genesis tx
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Incoming eToken tx with 9 decimals
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Legacy airdrop tx
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Outgoing encrypted msg (deprecated)
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Incoming encrypted msg (deprecated)
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Token burn tx
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Token burn tx with decimals
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Incoming eToken tx less than zero with decimals
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: SWaP tx
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Pre-spec alias registration (now off spec)
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: PayButton tx with no data and payment id
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: PayButton tx with data and payment id
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: PayButton tx with no data and no payment id
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: PayButton tx with data and no payment id
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: PayButton tx with unsupported version number
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Paybutton tx that does not have spec number of pushes
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: External msg received from Electrum
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: Before adding support for tokens other than SLPV1, an ALP tx is parsed as an eCash tx
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: External msg received from eCash Chat
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Parses supported tx types parseTx: slp v1 mint tx
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Sorts and trims chronik tx history sortAndTrimChronikTxHistory: successfully orders the result of flattenChronikTxHistory by blockheight and firstSeenTime if all txs are confirmed
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Sorts and trims chronik tx history sortAndTrimChronikTxHistory: orders the result of flattenChronikTxHistory by blockheight and firstSeenTime if some txs are confirmed and others unconfirmed
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Sorts and trims chronik tx history sortAndTrimChronikTxHistory: orders the result of flattenChronikTxHistory by blockheight and firstSeenTime if all txs are unconfirmed,
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Separates SLP and non-SLP utxos organizeUtxosByType: Splits token utxos and non-token utxos using real in-node utxos
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Separates SLP and non-SLP utxos organizeUtxosByType: Splits token utxos and non-token utxos
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Separates SLP and non-SLP utxos organizeUtxosByType: Returns empty array for nonSlpUtxos if all utxos are token utxos
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions Separates SLP and non-SLP utxos organizeUtxosByType: Returns empty array for preliminarySlpUtxos if no token utxos found
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We get info we want to cache about a token from its genesis tx and chronik token info endpoint getTokenGenesisInfo: slpv1 token with no minting batons
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We get info we want to cache about a token from its genesis tx and chronik token info endpoint getTokenGenesisInfo: slpv1 token with no minting batons unconfirmed genesis tx
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We get info we want to cache about a token from its genesis tx and chronik token info endpoint getTokenGenesisInfo: slpv1 token with minting baton
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We get info we want to cache about a token from its genesis tx and chronik token info endpoint getTokenGenesisInfo: ALP token with a minting baton
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We get info we want to cache about a token from its genesis tx and chronik token info endpoint getTokenGenesisInfo: slpv2 genesis tx
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We get info we want to cache about a token from its genesis tx and chronik token info endpoint getTokenGenesisInfo: Slp type 2 token (BUX)
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We get info we want to cache about a token from its genesis tx and chronik token info endpoint getTokenGenesisInfo: Error is thrown if 1st chronik API call not completed successfully
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We get info we want to cache about a token from its genesis tx and chronik token info endpoint getTokenGenesisInfo: Error is thrown if 2nd chronik API call not completed successfully
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We can get token balance from a large token utxo set and update the cache
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We can get token balance form a large token utxo set that includes a utxo of unknown tokenId and update the cache
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We can get utxos from multiple paths and tag each one with its path
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We can get and parse tx history from a multi-path wallet, and update the token cache at the same time
[13:12:18][CashTab Unit Tests] Cashtab chronik.js functions We can get and parse tx history from a multi-path wallet. If there is an error in getting cached token data, we still parse tx history. We add to token cache and get parsed tx history
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Cashtab Msg building functions getCashtabMsgTargetOutput: Alphanumeric string
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Cashtab Msg building functions getCashtabMsgTargetOutput: String with emojis
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Cashtab Msg building functions getCashtabMsgTargetOutput: String of max length for Cashtab Msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Cashtab Msg building functions getCashtabMsgTargetOutput throws error for: String exceeding max length for Cashtab Msg by 1 byte
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Cashtab Msg building functions getCashtabMsgTargetOutput throws error for: non-string input
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Cashtab Msg building functions getCashtabMsgTargetOutput throws error for: Empty string
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods getAirdropTargetOutput Airdrop with no optional msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods getAirdropTargetOutput Airdrop with many spaces for optional msg treated as no optional msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods getAirdropTargetOutput Airdrop with optional alphanumeric msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods getAirdropTargetOutput Airdrop with optional emoji and special characters msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods getAirdropTargetOutput Airdrop with optional msg of max allowable length
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods getAirdropTargetOutput getAirdropTargetOutput throws error for: Invalid tokenId provided
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods getAirdropTargetOutput getAirdropTargetOutput throws error for: Airdrop msg exceeding max length for airdrop msg by 1 byte
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods getAirdropTargetOutput getAirdropTargetOutput throws error for: non-string input for airdrop msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Alias registration target output building functions getAliasTargetOutput: Valid alias to p2pkh address
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Alias registration target output building functions getAliasTargetOutput: Valid alias to p2sh address
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Alias registration target output building functions getAliasTargetOutput throws error for: Invalid alias
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Alias registration target output building functions getAliasTargetOutput throws error for: Invalid address
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines byte count of user input alias registrations getAliasByteCount: Alias with emoji
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines byte count of user input alias registrations getAliasByteCount: Alias with emoji and text
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines byte count of user input alias registrations getAliasByteCount: Alias with special characters
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines byte count of user input alias registrations getAliasByteCount: Alias with Korean text
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines byte count of user input alias registrations getAliasByteCount: Alias with Arabic text
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines byte count of user input alias registrations getAliasByteCount: Alias with Chinese text
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines byte count of user input alias registrations getAliasByteCount: Alias with mixed foreign alphabets and emoji
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines byte count of user input alias registrations getAliasByteCount: Alphanumeric valid v0 alias
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines byte count of user input alias registrations getAliasByteCount throws error for: non-text input
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines bytecount of user input Cashtab Msg getCashtabMsgByteCount: a single emoji
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines bytecount of user input Cashtab Msg getCashtabMsgByteCount: msg input with characters and emojis
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines bytecount of user input Cashtab Msg getCashtabMsgByteCount: msg input with special characters
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines bytecount of user input Cashtab Msg getCashtabMsgByteCount: msg input with a mixture of symbols, multilingual characters and emojis
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines bytecount of user input Cashtab Msg getCashtabMsgByteCount: Alphanumeric string
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines bytecount of user input Cashtab Msg getCashtabMsgByteCount: String with emojis
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines bytecount of user input Cashtab Msg getCashtabMsgByteCount: String of max length for Cashtab Msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Determines bytecount of user input Cashtab Msg getCashtabMsgByteCount throws error for: non-text input
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Build target output for opreturn as bip21 param getOpreturnParamTargetOutput: Valid opreturn param input
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Build target output for opreturn as bip21 param getOpreturnParamTargetOutput: Max length for opreturn param
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Build target output for opreturn as bip21 param getOpreturnParamTargetOutput throws error for: Invalid opreturn param input
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Returns protocol identifier and raw hex for an SLP tx
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Returns protocol identifier and decoded message for a valid Cashtab msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Returns protocol identifier and decoded message for an invalid Cashtab msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Returns protocol identifier and decoded message for an encrypted Cashtab msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Returns protocol identifier and tokenId for a valid airdrop with no msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Returns protocol identifier and tokenId for a valid airdrop with msg
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Returns protocol identifier and raw hex for invalid airdrop
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Returns protocol identifier and raw hex for valid alias registration
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Returns protocol identifier and raw hex for invalid alias registration
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Valid paybutton with data and nonce
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Valid paybutton with no data and nonce
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Valid paybutton with data and no nonce
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Valid empty paybutton
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Invalid paybutton
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Valid eCash chat
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Invalid eCash chat
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw: Returns unknown for unknown OP_RETURN
[13:12:18][CashTab Unit Tests] Cashtab opreturn methods Parse op_return_raw input for display on Send screen parseOpReturnRaw throws error for: Throws error if op_return_raw is invalid OP_RETURN
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states localforage can set and get a map of tokeninfo by tokenId
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states XEC price is set in state on successful API fetch
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states XEC price remains null in state on API error
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states XEC price is set in state to fiat currency of user settings on successful API fetch
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states Cashtab loads wallet, settings, cache, and contactlist from localforage to context if they are present
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states processChronikWsMsg() refreshes alias prices when aliasPrices is null
[13:12:18][useWallet hook rendering in different localforage states processChronikWsMsg() refreshes alias prices when aliasPrices is null] Error: expect(received).toStrictEqual(expected) // deep equality Expected: {"note": "alias-server is in beta and these prices are not finalized.", "prices": [{"fees": {"1": 558, "10": 551, "11": 551, "12": 551, "13": 551, "14": 551, "15": 551, "16": 551, "17": 551, "18": 551, "19": 551, "2": 557, "20": 551, "21": 551, "3": 556, "4": 555, "5": 554, "6": 553, "7": 552, "8": 551, "9": 551}, "startHeight": 823950}]} Received: null at Object.toStrictEqual (/work/cashtab/src/wallet/__tests__/useWallet.test.js:263:44)
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states processChronikWsMsg() refreshes alias prices when aliasPrices exists, server and cashtab prices array length do not match
[13:12:18][useWallet hook rendering in different localforage states processChronikWsMsg() refreshes alias prices when aliasPrices exists, server and cashtab prices array length do not match] Error: expect(received).toEqual(expected) // deep equality - Expected - 26 + Received + 0 @@ -25,33 +25,7 @@ "8": 551, "9": 551, }, "startHeight": 823944, }, - Object { - "fees": Object { - "1": 558, - "10": 551, - "11": 551, - "12": 551, - "13": 551, - "14": 551, - "15": 551, - "16": 551, - "17": 551, - "18": 551, - "19": 551, - "2": 557, - "20": 551, - "21": 551, - "3": 556, - "4": 555, - "5": 554, - "6": 553, - "7": 552, - "8": 551, - "9": 551, - }, - "startHeight": 823950, - }, ], } at Object.toEqual (/work/cashtab/src/wallet/__tests__/useWallet.test.js:392:44)
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states processChronikWsMsg() does not refresh alias prices when aliasPrices exists, server and cashtab array length do match
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states Verify a processChronikWsMsg() new block event updates the `aliasServerError` state var upon a /prices/ endpoint error
[13:12:18][useWallet hook rendering in different localforage states Verify a processChronikWsMsg() new block event updates the `aliasServerError` state var upon a /prices/ endpoint error] Error: expect(received).toStrictEqual(expected) // deep equality Expected: [Error: Invalid response from alias prices endpoint] Received: false at Object.toStrictEqual (/work/cashtab/src/wallet/__tests__/useWallet.test.js:589:49)
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states Verify refreshAliases() updates the `aliases` state variable on a successful /address/ endpoint response
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states Verify refreshAliases() updates the `aliasServerError` state variable upon an /address/ endpoint error
[13:12:18][CashTab Unit Tests] useWallet hook rendering in different localforage states An incoming tx message from the websocket causes the wallet to update
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <BalanceHeader /> Renders the loader if balanceSats is not an integer
[13:12:18][CashTab Unit Tests] <BalanceHeader /> Renders the BalanceHeader component correctly with default locale en-US
[13:12:18][CashTab Unit Tests] <BalanceHeader /> Renders the BalanceHeader component correctly with fr-FR locale
[13:12:18][CashTab Unit Tests] <BalanceHeader /> Balance is hidden if cashtabSettings.balanceVisible is false
[13:12:18][CashTab Unit Tests] <BalanceHeader /> Renders fiat price for a non-USD currency
[13:12:18][CashTab Unit Tests] <BalanceHeader /> Fiat price and forex are not displayed if fiatPrice is unavailable
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: 1000 satoshis with 1 change output at 1 sat/byte to p2pkh address
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: 1000 satoshis with 1 change output at 1 sat/byte to p2pkh address if all utxos are mature coinbase utxos
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: 1000 satoshis with 1 change output at 1 sat/byte to p2pkh address with an OP_RETURN output
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: 1000 satoshis with 1 change output at 1 sat/byte to p2pkh address with an OP_RETURN output at index 0
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: 1000 satoshis with 1 change output at 1 sat/byte to p2sh address
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: 1000 satoshis with 1 change output at 10 sat/byte
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: 1 satoshi per byte tx with no change outputs
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: 1 satoshi per byte tx with no change outputs from a wallet with utxos at many addresses
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: 1 satoshi per byte tx broadcast actually broadcast with this function
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: No precision error using JS Number on utxo with highest theoretically possible value
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: 15000 satoshis with 1 change output at 1 sat/byte to 5 p2pkh addresses
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: 15000 satoshis with 1 change output at 1 sat/byte to 5 p2sh outputs
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: Sending below dust threshold
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: Sending above wallet balance
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: Sending within wallet balance but insufficient to cover fee
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: Attempting to create a tx with fee rate below 1 sat/byte
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: Tx with utxos for which the wallet has no private keys
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: throws broadcast error from the node
[13:12:18][CashTab Unit Tests] We can broadcast XEC transactions sendXec: Insufficient balance due to immature coinbase utxos
[13:12:18][CashTab Unit Tests] Forming multisend targetOutputs getMultisendTargetOutputs: Airdrop
[13:12:18][CashTab Unit Tests] Forming multisend targetOutputs getMultisendTargetOutputs: Multisend format with extra space around address and value
[13:12:18][CashTab Unit Tests] Forming multisend targetOutputs getMultisendTargetOutputs: One address in multi format
[13:12:18][CashTab Unit Tests] Forming multisend targetOutputs getMultisendTargetOutputs: Multisend including a non-integer JS result
[13:12:18][CashTab Unit Tests] Forming multisend targetOutputs getMultisendTargetOutputs throws error for: Invalid multisend input (dust)
[13:12:18][CashTab Unit Tests] Forming multisend targetOutputs getMultisendTargetOutputs throws error for: Too many decimal places
[13:12:18][CashTab Unit Tests] Forming multisend targetOutputs getMultisendTargetOutputs throws error for: Use of comma as decimal place marker
[13:12:18][CashTab Unit Tests] Forming multisend targetOutputs getMultisendTargetOutputs throws error for: Too many commas on one line
[13:12:18][CashTab Unit Tests] Ignore unspendable coinbase utxos ignoreUnspendableUtxos: Array with no coinbase utxos returned unchanged
[13:12:18][CashTab Unit Tests] Ignore unspendable coinbase utxos ignoreUnspendableUtxos: Array with immature coinbase utxo returned without immature coinbase utxo
[13:12:18][CashTab Unit Tests] Ignore unspendable coinbase utxos ignoreUnspendableUtxos: Array with some immature coinbase utxos and some mature coinbase utxos returned without immature coinbase utxo
[13:12:18][CashTab Unit Tests] Ignore unspendable coinbase utxos ignoreUnspendableUtxos: If blockheight is zero, all coinbase utxos are removed
[13:12:18][CashTab Unit Tests] We can create and broadcast SLP v1 SEND and BURN txs from utxos of nng or in-node chronik shape Build and broadcast an SLP V1 SEND and BURN tx from in-node chronik-client utxos: SLP send and burn with token change
[13:12:18][CashTab Unit Tests] We can create and broadcast SLP v1 SEND and BURN txs from utxos of nng or in-node chronik shape Build and broadcast an SLP V1 SEND and BURN tx from in-node chronik-client utxos: SLP send and BURN with no token change
[13:12:18][CashTab Unit Tests] We can create and broadcast SLP v1 SEND and BURN txs from utxos of nng or in-node chronik shape Build and broadcast an SLP V1 SEND and BURN tx from in-node chronik-client utxos: SLP max send tx using all available input utxos
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] queryAliasServer() correctly throws a network error for server downtime or a malformed fetch url
[13:12:18][CashTab Unit Tests] queryAliasServer() correctly returns an array of alias objects for a valid eCash address that has registered aliases
[13:12:18][CashTab Unit Tests] queryAliasServer() correctly returns an array of alias objects for a valid prefix-less eCash address that has registered aliases
[13:12:18][CashTab Unit Tests] queryAliasServer() returns an empty array for a valid eCash address with no aliases
[13:12:18][CashTab Unit Tests] queryAliasServer() throws an error for an invalid eCash address
[13:12:18][CashTab Unit Tests] queryAliasServer() returns an alias object for a registered alias
[13:12:18][CashTab Unit Tests] queryAliasServer() returns an api error for a non-alphanumeric alias
[13:12:18][CashTab Unit Tests] queryAliasServer() returns a valid object for an unregistered alias
[13:12:18][CashTab Unit Tests] queryAliasServer() returns an error for an alias longer than 21 characters
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <Receive /> Renders as expected on desktop, including copy paste functionality of clicking on the QR code
[13:12:18][CashTab Unit Tests] <Receive /> Renders the Receive screen with QR code of expected width for smallest supported mobile view
[13:12:18][CashTab Unit Tests] <Receive /> Renders the Receive screen with QR code of size that is fully viewable in extension dimensions
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <Home /> Renders the loading component while loading, then the Home screen
[13:12:18][CashTab Unit Tests] <Home /> Renders the Home screen with API error
[13:12:18][CashTab Unit Tests] <Home /> Renders backup warning and QR Code if user loads with a new wallet
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <Tx /> Renders the timestamp if timeFirstSeen !== 0
[13:12:18][CashTab Unit Tests] <Tx /> Renders the timestamp as block timestamp timeFirstSeen === 0
[13:12:18][CashTab Unit Tests] <Tx /> Does not render a timestamp for an unconfirmed tx with timeFirstSeen === '0'
[13:12:18][CashTab Unit Tests] <Tx /> Renders from contact name if a tx is from an address in contact list
[13:12:18][CashTab Unit Tests] <Tx /> Does not render from contact name if a tx is not from an address in contact list
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatBalance with an input of 0
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatBalance with zero XEC balance input
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatBalance with a small XEC balance input with 2+ decimal figures
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatBalance with 1 Million XEC balance input
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatBalance with 1 Billion XEC balance input
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatBalance with total supply as XEC balance input
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatBalance with > total supply as XEC balance input
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatBalance with no balance
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatBalance with null input
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatBalance with undefined as input
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatBalance with non-numeric input
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions Accepts a valid unix timestamp
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions Accepts an empty string and generates a new timestamp
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions Accepts no parameter and generates a new timestamp
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions Accepts 'undefined' as a parameter and generates a new date
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions Rejects an invalid string containing letters.
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions Rejects an invalid string containing numbers.
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatFiatBalance with zero XEC balance input
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatFiatBalance with a small XEC balance input with 2+ decimal figures
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatFiatBalance with a large XEC balance input with 2+ decimal figures
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatFiatBalance with no balance
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatFiatBalance with null input
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions test formatFiatBalance with undefined input
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions We can format decimalized token strings for userLocale decimalizedTokenQtyToLocaleFormat: 9-decimal token
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions We can format decimalized token strings for userLocale decimalizedTokenQtyToLocaleFormat: Max possible eToken qty
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions We can format decimalized token strings for userLocale decimalizedTokenQtyToLocaleFormat: Max possible eToken qty with decimals
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions We can format decimalized token strings for userLocale decimalizedTokenQtyToLocaleFormat: One less than max possible eToken qty with decimals
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions We can format decimalized token strings for userLocale decimalizedTokenQtyToLocaleFormat: A pretty normal token quantity
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions We can format decimalized token strings for userLocale decimalizedTokenQtyToLocaleFormat: Smallest possible eToken quantity
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions We can format decimalized token strings for userLocale decimalizedTokenQtyToLocaleFormat: Smallest possible eToken quantity, but French
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions We can format decimalized token strings for userLocale decimalizedTokenQtyToLocaleFormat: One less than max possible eToken qty with decimals, but french
[13:12:18][CashTab Unit Tests] Correctly executes formatting functions We can format decimalized token strings for userLocale decimalizedTokenQtyToLocaleFormat: Locale with no thousands separator
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <CreateTokenForm /> User can input valid token parameters, generate a token, and view a success notification
[13:12:18][CashTab Unit Tests] <CreateTokenForm /> User can create a token with a mint baton
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <Alias /> Registered and Pending Aliases are correctly rendered
[13:12:18][CashTab Unit Tests] <Alias /> Registered and Pending Aliases are correctly rendered when pending list is empty
[13:12:18][CashTab Unit Tests] <Alias /> Registered and Pending Aliases are correctly rendered when registered list is empty
[13:12:18][CashTab Unit Tests] <Alias /> Registered and Pending lists still renders when aliasValidationError is populated and aliasServerError is false
[13:12:18][CashTab Unit Tests] <Alias /> Registered and Pending lists do not render when aliasValidationError is false and aliasServerError is populated
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <CreateToken /> If wallet has sufficient XEC, renders CreateTokenForm
[13:12:18][CashTab Unit Tests] <CreateToken /> If wallet has insufficient XEC, renders component but does not render CreateTokenForm
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] Cashtab helper functions Detect mobile or desktop devices isMobile: Navigator is undefined
[13:12:18][CashTab Unit Tests] Cashtab helper functions Detect mobile or desktop devices isMobile: Navigator.userAgentData is undefined
[13:12:18][CashTab Unit Tests] Cashtab helper functions Detect mobile or desktop devices isMobile: Desktop device on browser with userAgentData support
[13:12:18][CashTab Unit Tests] Cashtab helper functions Detect mobile or desktop devices isMobile: Mobile device on browser with userAgentData support
[13:12:18][CashTab Unit Tests] Cashtab helper functions Get user locale getUserLocale: navigator is undefined
[13:12:18][CashTab Unit Tests] Cashtab helper functions Get user locale getUserLocale: navigator.language is undefined
[13:12:18][CashTab Unit Tests] Cashtab helper functions Get user locale getUserLocale: navigator.language is defined and not the default
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabCache to and from JSON for storage and in-app use cashtabCacheToJSON and storedCashtabCacheToMap: Converts cashtabCache with populated token cache to JSON for storage
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabCache to and from JSON for storage and in-app use cashtabCacheToJSON and storedCashtabCacheToMap: Converts cashtabCache with empty token cache to JSON for storage
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabWallet to and from JSON for storage and in-app use cashtabWalletToJSON and cashtabWalletFromJSON: Newly created Cashtab wallet
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabWallet to and from JSON for storage and in-app use cashtabWalletToJSON and cashtabWalletFromJSON: Pre-2.1.0 wallet is unchanged
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabWallet to and from JSON for storage and in-app use cashtabWalletToJSON and cashtabWalletFromJSON: Pre-2.9.0 wallet is unchanged
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabWallet to and from JSON for storage and in-app use cashtabWalletToJSON and cashtabWalletFromJSON: Cashtab wallet with multiple paths
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabWallet to and from JSON for storage and in-app use cashtabWalletToJSON and cashtabWalletFromJSON: Cashtab wallet with multiple paths and tokens in state
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabWallets (array) to and from JSON for storage and in-app use cashtabWalletsToJSON and cashtabWalletsFromJSON: Newly created Cashtab wallets
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabWallets (array) to and from JSON for storage and in-app use cashtabWalletsToJSON and cashtabWalletsFromJSON: Pre-2.1.0 wallets are unchanged
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabWallets (array) to and from JSON for storage and in-app use cashtabWalletsToJSON and cashtabWalletsFromJSON: Pre-2.9.0 wallets are unchanged
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabWallets (array) to and from JSON for storage and in-app use cashtabWalletsToJSON and cashtabWalletsFromJSON: Cashtab wallets with multiple paths
[13:12:18][CashTab Unit Tests] Cashtab helper functions Converts cashtabWallets (array) to and from JSON for storage and in-app use cashtabWalletsToJSON and cashtabWalletsFromJSON: Cashtab wallets with multiple paths and tokens in state
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for a standard (prorata) airdrop getAirdropTx: We can calculate an airdrop for holders of a given tokenId and no ignored addresses
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for a standard (prorata) airdrop getAirdropTx: We can calculate an airdrop for holders of a given tokenId and one ignored address
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for a standard (prorata) airdrop getAirdropTx: We can calculate an airdrop for holders of a given tokenId and two ignored addresses
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for a standard (prorata) airdrop getAirdropTx: We can calculate an airdrop for holders of a given tokenId with no ignored addresses and a specified minTokenQtyUndecimalized that renders only one address eligible
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for a standard (prorata) airdrop getAirdropTx: We can calculate an airdrop for holders of a given tokenId with no ignored addresses and a specified minTokenQtyUndecimalized that renders some addresses eligible
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for a standard (prorata) airdrop getAirdropTx: We can calculate an airdrop for holders of a given tokenId with an ignored addresses and a specified minTokenQtyUndecimalized that renders some addresses eligible
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for a standard (prorata) airdrop getAirdropTx throws error for: We throw expected error if no tokens are held at p2pkh or p2sh addresses
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for a standard (prorata) airdrop getAirdropTx throws error for: We throw expected error if all eligible addresses are excluded
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for a standard (prorata) airdrop getAirdropTx throws error for: We throw expected error if all eligible recipients would receive dust
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for an equal airdrop getEqualAirdropTx: We can calculate an airdrop for holders of a given tokenId and no ignored addresses
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for an equal airdrop getEqualAirdropTx: We can calculate an airdrop for holders of a given tokenId and one ignored address
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for an equal airdrop getEqualAirdropTx: We can calculate an airdrop for holders of a given tokenId and two ignored addresses
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for an equal airdrop getEqualAirdropTx: We can calculate an airdrop for holders of a given tokenId with no ignored addresses and a specified minTokenQtyUndecimalized that renders only one address eligible
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for an equal airdrop getEqualAirdropTx: We can calculate an airdrop for holders of a given tokenId with no ignored addresses and a specified minTokenQtyUndecimalized that renders some addresses eligible
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for an equal airdrop getEqualAirdropTx: We can calculate an airdrop for holders of a given tokenId with an ignored addresses and a specified minTokenQtyUndecimalized that renders some addresses eligible
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for an equal airdrop getEqualAirdropTx throws error for: We throw expected error if no tokens are held at p2pkh or p2sh addresses
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for an equal airdrop getEqualAirdropTx throws error for: We throw expected error if all eligible addresses are excluded
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for an equal airdrop getEqualAirdropTx throws error for: We throw expected error if all eligible addresses are excluded
[13:12:18][CashTab Unit Tests] Cashtab airdrop methods Gets csv list of airdrop recipients address and amounts for an equal airdrop getEqualAirdropTx throws error for: We throw expected error if anticipated airdrop amount is less than dust
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <QRCode /> QRCode copying ecash address
[13:12:18][CashTab Unit Tests] <QRCode /> QRCode copying eToken address
[13:12:18][CashTab Unit Tests] <QRCode /> QRCode will render without address
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] sumOneToManyXec() correctly parses the value for a valid one to many send XEC transaction
[13:12:18][CashTab Unit Tests] sumOneToManyXec() correctly parses the value for a valid one to many send XEC transaction with decimals
[13:12:18][CashTab Unit Tests] sumOneToManyXec() returns NaN for an address and value array that is partially typed or has invalid format
[13:12:18][CashTab Unit Tests] Correctly executes cash utility functions Successfully extracts a hash160 array from valid cashtab wallet
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <ScanQRCode /> Renders the modal on load if loadWithCameraOpen is true
[13:12:18][CashTab Unit Tests] <ScanQRCode /> Does not render the modal on load if loadWithCameraOpen is false
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <CashtabTestWrapper /> With default props, renders App component
[13:12:18][CashTab Unit Tests] <CashtabTestWrapper /> We can render other pages by passing the route
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <SignVerifyMsg /> Notification is rendered upon successfully signing a message
[13:12:18][CashTab Unit Tests] <SignVerifyMsg /> Notification is rendered upon successfully verifying a message
[13:12:18][CashTab Unit Tests] <SignVerifyMsg /> Notification is rendered upon signature verification error
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid.
[13:12:18][CashTab Unit Tests] <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. Invalid bip21 string is ignored.
[13:12:18][CashTab Unit Tests] <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and value present as undefined
[13:12:18][CashTab Unit Tests] <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and no value key present
[13:12:18][CashTab Unit Tests] <SendXec /> rendered with params in URL Legacy params. Params are ignored if only value param is present
[13:12:18][CashTab Unit Tests] <SendXec /> rendered with params in URL Legacy params. Params are ignored if param is duplicated
[13:12:18][CashTab Unit Tests] <SendXec /> rendered with params in URL Legacy params are not parsed as bip21 even if the bip21 param appears in the string
[13:12:18][CashTab Unit Tests] <SendXec /> rendered with params in URL bip21 param - valid bip21 param with amount and op_return_raw is parsed as expected
[13:12:18][CashTab Unit Tests] <SendXec /> rendered with params in URL bip21 param - an invalid bip21 param shows validation errors but cannot be changed
[13:12:18][CashTab Unit Tests] <SendXec /> rendered with params in URL No params. Send screen loads normally with no rendered input.
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <Airdrop /> We can send a pro-rata airdrop and equal tx to a tokenId not in our cache using custom settings
[13:12:18][CashTab Unit Tests] <Airdrop /> We can ignore addresses with less than a token balance for a token with decimals
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <SendToken /> Renders the SendToken screen with send address input
[13:12:18][CashTab Unit Tests] <SendToken /> Accepts a valid ecash: prefixed address
[13:12:18][CashTab Unit Tests] <SendToken /> Accepts a valid etoken: prefixed address
[13:12:18][CashTab Unit Tests] <SendToken /> Accepts a valid alias
[13:12:18][CashTab Unit Tests] <SendToken /> Displays a validation error for an invalid address
[13:12:18][CashTab Unit Tests] <SendToken /> Displays a validation error for an alias without .xec suffix
[13:12:18][CashTab Unit Tests] <SendToken /> Displays a validation error for valid alias that has not yet been registered
[13:12:18][CashTab Unit Tests] <SendToken /> Displays expected error if alias server gives a bad response
[13:12:18][CashTab Unit Tests] <SendToken /> Displays a validation error if the user includes any query string
[13:12:18][CashTab Unit Tests] <SendToken /> Renders the send token notification upon successful broadcast
[13:12:18][CashTab Unit Tests] <SendToken /> Renders the burn token success notification upon successful burn tx broadcast
[13:12:18][CashTab Unit Tests] <SendToken /> Mint switch is disabled if no mint batons for this token in the wallet
[13:12:18][CashTab Unit Tests] <SendToken /> We can mint an slpv1 token if we have a mint baton
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <App /> Renders onboarding screen at home route if user has no wallet
[13:12:18][CashTab Unit Tests] <App /> Renders onboarding screen at Receive route if user has no wallet
[13:12:18][CashTab Unit Tests] <App /> Renders onboarding screen even on a bad route if user has no wallet
[13:12:18][CashTab Unit Tests] <App /> Renders 404 at bad route if user has a wallet
[13:12:18][CashTab Unit Tests] <App /> Navigation menu routes to expected components
[13:12:18][CashTab Unit Tests] <App /> Adding a contact to to a new contactList by clicking on tx history adds it to localforage and wallet context
[13:12:18][CashTab Unit Tests] <App /> Adding a contact to an existing contactList by clicking on tx history adds it to localforage and wallet context
[13:12:18][CashTab Unit Tests] <App /> A user with legacy blank contactList in localstorage is migrated on startup
[13:12:18][CashTab Unit Tests] <App /> Clicking "reply" on a Cashtab Msg correctly populates the SendXec to address and amount fields
[13:12:18][CashTab Unit Tests] <App /> We do not see the camera auto-open setting in the config screen on a desktop device
[13:12:18][CashTab Unit Tests] <App /> We do see the camera auto-open setting in the config screen on a mobile device
[13:12:18][CashTab Unit Tests] <App /> Setting "Send Confirmations" settings will show send confirmations
[13:12:18][CashTab Unit Tests] <App /> If Cashtab starts up with some settings keys missing, the missing keys are migrated to default values
[13:12:18][CashTab Unit Tests] <App /> Setting "ABSOLUTE MINIMUM fees" settings will reduce fees to absolute min
[13:12:18][CashTab Unit Tests] <App /> Wallet with easter egg token sees easter egg
[13:12:18][CashTab Unit Tests] <App /> If Cashtab starts with 1.5.* cashtabCache, it is wiped and migrated to 2.9.0 cashtabCache
[13:12:18][CashTab Unit Tests] <App /> A new user can import a mnemonic
[13:12:18][CashTab Unit Tests] <App /> Migrating from wallet/savedWallet keys (version < 1.6.0): A user with an invalid Cashtab wallet as the active wallet is migrated on startup
[13:12:18][CashTab Unit Tests] <App /> Migrating from wallet/savedWallet keys (version < 1.6.0): A user with pre-2.1.0 valid wallets in savedWallets has them all migrated to new storage keys and new shape
[13:12:18][CashTab Unit Tests] <App /> Migrating (version >= 1.6.0 and < 2.1.0): A user with an invalid wallet stored at wallets key has that wallet migrated
[13:12:18][CashTab Unit Tests] <App /> Migrating (version >= 1.6.0 and < 2.1.0): A user with multiple invalid wallets stored at wallets key has them migrated
[13:12:18][CashTab Unit Tests] <App /> Cashtab version >= 1.6.0 and < 2.1.0: A user with an invalid Cashtab wallet as the active wallet is migrated on startup
[13:12:18][CashTab Unit Tests] <App /> A user with all valid wallets stored at wallets key does not have any wallets migrated
[13:12:18][CashTab Unit Tests] <App /> Migrating (version < 2.9.0): A user with multiple invalid wallets stored at wallets key has them migrated
[13:12:18][CashTab Unit Tests] <App /> Migrating (version < 2.9.0): A user with an invalid Cashtab wallet as the active wallet is migrated on startup
[13:12:18][CashTab Unit Tests] <App /> If Cashtab starts with < 2.9.0 cashtabCache, it is wiped and migrated to 2.9.0 cashtabCache
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <Configure /> We can add, delete, rename, contacts from the Configure screen, and add a savedWallet as a contact
[13:12:18][CashTab Unit Tests] <Configure /> Confirm mocked bip39.generateMnemonic() returns the expected seed
[13:12:18][CashTab Unit Tests] <Configure /> We can rename the active wallet or a saved wallet, we can add a wallet, we can import a wallet, we can delete a wallet
[13:12:18][Step 1/1] CashTab Unit Tests
[13:12:18][CashTab Unit Tests] <SendXec /> Renders the SendXec screen with send address input
[13:12:18][CashTab Unit Tests] <SendXec /> Pass valid address to Send To field
[13:12:18][CashTab Unit Tests] <SendXec /> Pass valid alias to Send To field
[13:12:18][CashTab Unit Tests] <SendXec /> Pass an invalid address to Send To field and get a validation error
[13:12:18][CashTab Unit Tests] <SendXec /> Pass a possibly valid alias without .xec suffix to Send To field and get expected error
[13:12:18][CashTab Unit Tests] <SendXec /> Pass a valid alias to Send To field that has not yet been registered and get expected error
[13:12:18][CashTab Unit Tests] <SendXec /> Get expected error msg and send disabled if bad response from alias server
[13:12:18][CashTab Unit Tests] <SendXec /> Pass a valid address and bip21 query string with valid amount param to Send To field
[13:12:18][CashTab Unit Tests] <SendXec /> Pass a valid alias and bip21 query string with valid amount param to Send To field
[13:12:18][CashTab Unit Tests] <SendXec /> Pass a valid address and bip21 query string with invalid amount param (dust) to Send To field
[13:12:18][CashTab Unit Tests] <SendXec /> Valid address with valid bip21 query string with valid amount param rejected if amount exceeds wallet balance
[13:12:18][CashTab Unit Tests] <SendXec /> Pass a valid alias and bip21 query string with invalid amount param (too many decimals) to Send To field
[13:12:18][CashTab Unit Tests] <SendXec /> Pass a valid address and an invalid bip21 query string
[13:12:18][CashTab Unit Tests] <SendXec /> Pass a valid address and bip21 query string with op_return_raw param to Send To field
[13:12:18][CashTab Unit Tests] <SendXec /> Pass a valid address and bip21 query string with valid amount and op_return_raw params to Send To field
[13:12:18][CashTab Unit Tests] <SendXec /> Pass a valid address and bip21 query string with valid amount and invalid op_return_raw params to Send To field
[13:12:18][CashTab Unit Tests] <SendXec /> Clicking "Send" will send a valid tx with op_return_raw after entry of a valid address and bip21 query string with valid amount and op_return_raw params to Send To field
[13:12:18][CashTab Unit Tests] <SendXec /> We can calculate max send amount with and without a cashtab msg, and send a max sat tx with a cashtab msg
[13:12:18][CashTab Unit Tests] <SendXec /> If the user has minFeeSends set to true but no longer has the right token amount, the feature is disabled
[13:12:18][CashTab Unit Tests] <SendXec /> We can send a tx with amount denominated in fiat currency
[13:12:18][CashTab Unit Tests] <SendXec /> We can send an XEC tx to multiple users
[13:12:18][CashTab Unit Tests] <SendXec /> If we type a Cashtab msg, then disable the switch, we send a tx without our typed Cashtab message
[13:12:18][Creating archive artifacts.tar.gz] Archive was created, file size 153.24 KB (156922 bytes)
[13:12:38][Publishing artifacts] Publishing 1 file using [WebPublisher]: results/artifacts => artifacts.tar.gz
[13:12:38][Publishing artifacts] Publishing 1 file using [ArtifactsCachePublisher]: results/artifacts => artifacts.tar.gz
[13:12:18][Step 1/1] ##teamcity[publishArtifacts '+:results/artifacts=>artifacts.tar.gz']
[13:12:39][Step 1/1] Build cashtab-tests failed with exit code 1
[13:12:18][Step 1/1] ##teamcity[buildProblem timestamp='2024-04-04T13:12:18.436' description='Build cashtab-tests failed with exit code 1']
[13:12:18][Step 1/1] vectors.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/transactions | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] index.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/transactions/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] vectors.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/utils | 89.58 | 88.23 | 100 | 89.58 |
[13:12:18][Step 1/1] cashMethods.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] formatting.js | 86.11 | 84.61 | 100 | 86.11 | 18,28,51-53
[13:12:18][Step 1/1] src/utils/fixtures | 0 | 0 | 0 | 0 |
[13:12:18][Step 1/1] vectors.js | 0 | 0 | 0 | 0 |
[13:12:18][Step 1/1] src/validation | 95.17 | 97.09 | 100 | 95.47 |
[13:12:18][Step 1/1] index.js | 95.17 | 97.09 | 100 | 95.47 | 58-63,125-126,268,300,320,367,550,646-647,781,786
[13:12:18][Step 1/1] src/validation/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] vectors.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] src/wallet | 90.4 | 79.31 | 83.67 | 90.78 |
[13:12:18][Step 1/1] context.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] index.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] useWallet.js | 85.88 | 69.74 | 74.19 | 86.45 | 66,150,423-429,468,534-587,601,628,650-658,698,730,761,767-770,844-845,870
[13:12:18][Step 1/1] src/wallet/fixtures | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] mocks.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] vectors.js | 100 | 100 | 100 | 100 |
[13:12:18][Step 1/1] -----------------------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] Code Coverage Summary
[13:12:18][Step 1/1] Summary of all failing tests
[13:12:18][Step 1/1] FAIL src/wallet/__tests__/useWallet.test.js (6.989 s)
[13:12:18][Step 1/1] ● useWallet hook rendering in different localforage states › processChronikWsMsg() refreshes alias prices when aliasPrices is null
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] expect(received).toStrictEqual(expected) // deep equality
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] Expected: {"note": "alias-server is in beta and these prices are not finalized.", "prices": [{"fees": {"1": 558, "10": 551, "11": 551, "12": 551, "13": 551, "14": 551, "15": 551, "16": 551, "17": 551, "18": 551, "19": 551, "2": 557, "20": 551, "21": 551, "3": 556, "4": 555, "5": 554, "6": 553, "7": 552, "8": 551, "9": 551}, "startHeight": 823950}]}
[13:12:18][Step 1/1] Received: null
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] 261 |
[13:12:18][Step 1/1] 262 | // Verify upon `BlockConnected` events processChronikWsMsg() updates the aliasPrices state var
[13:12:18][Step 1/1] > 263 | expect(result.current.aliasPrices).toStrictEqual(
[13:12:18][Step 1/1] | ^
[13:12:18][Step 1/1] 264 | mockAliasServerResponse,
[13:12:18][Step 1/1] 265 | );
[13:12:18][Step 1/1] 266 | });
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] at Object.toStrictEqual (src/wallet/__tests__/useWallet.test.js:263:44)
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] ● useWallet hook rendering in different localforage states › processChronikWsMsg() refreshes alias prices when aliasPrices exists, server and cashtab prices array length do not match
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] expect(received).toEqual(expected) // deep equality
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] - Expected - 26
[13:12:18][Step 1/1] + Received + 0
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] @@ -25,33 +25,7 @@
[13:12:18][Step 1/1] "8": 551,
[13:12:18][Step 1/1] "9": 551,
[13:12:18][Step 1/1] },
[13:12:18][Step 1/1] "startHeight": 823944,
[13:12:18][Step 1/1] },
[13:12:18][Step 1/1] - Object {
[13:12:18][Step 1/1] - "fees": Object {
[13:12:18][Step 1/1] - "1": 558,
[13:12:18][Step 1/1] - "10": 551,
[13:12:18][Step 1/1] - "11": 551,
[13:12:18][Step 1/1] - "12": 551,
[13:12:18][Step 1/1] - "13": 551,
[13:12:18][Step 1/1] - "14": 551,
[13:12:18][Step 1/1] - "15": 551,
[13:12:18][Step 1/1] - "16": 551,
[13:12:18][Step 1/1] - "17": 551,
[13:12:18][Step 1/1] - "18": 551,
[13:12:18][Step 1/1] - "19": 551,
[13:12:18][Step 1/1] - "2": 557,
[13:12:18][Step 1/1] - "20": 551,
[13:12:18][Step 1/1] - "21": 551,
[13:12:18][Step 1/1] - "3": 556,
[13:12:18][Step 1/1] - "4": 555,
[13:12:18][Step 1/1] - "5": 554,
[13:12:18][Step 1/1] - "6": 553,
[13:12:18][Step 1/1] - "7": 552,
[13:12:18][Step 1/1] - "8": 551,
[13:12:18][Step 1/1] - "9": 551,
[13:12:18][Step 1/1] - },
[13:12:18][Step 1/1] - "startHeight": 823950,
[13:12:18][Step 1/1] - },
[13:12:18][Step 1/1] ],
[13:12:18][Step 1/1] }
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] 390 |
[13:12:18][Step 1/1] 391 | // Verify upon `BlockConnected` events processChronikWsMsg() updates the aliasPrices state var
[13:12:18][Step 1/1] > 392 | expect(result.current.aliasPrices).toEqual(mockAliasServerResponse);
[13:12:18][Step 1/1] | ^
[13:12:18][Step 1/1] 393 | });
[13:12:18][Step 1/1] 394 |
[13:12:18][Step 1/1] 395 | it('processChronikWsMsg() does not refresh alias prices when aliasPrices exists, server and cashtab array length do match', async () => {
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] at Object.toEqual (src/wallet/__tests__/useWallet.test.js:392:44)
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] ● useWallet hook rendering in different localforage states › Verify a processChronikWsMsg() new block event updates the `aliasServerError` state var upon a /prices/ endpoint error
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] expect(received).toStrictEqual(expected) // deep equality
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] Expected: [Error: Invalid response from alias prices endpoint]
[13:12:18][Step 1/1] Received: false
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] 587 |
[13:12:18][Step 1/1] 588 | // Verify the `aliasServerError` state var in useWallet is updated
[13:12:18][Step 1/1] > 589 | expect(result.current.aliasServerError).toStrictEqual(
[13:12:18][Step 1/1] | ^
[13:12:18][Step 1/1] 590 | new Error(expectedError),
[13:12:18][Step 1/1] 591 | );
[13:12:18][Step 1/1] 592 | });
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] at Object.toStrictEqual (src/wallet/__tests__/useWallet.test.js:589:49)
[13:12:18][Step 1/1]
[13:12:18][Step 1/1]
[13:12:18][Step 1/1] Test Suites: 1 failed, 29 passed, 30 total
[13:12:18][Step 1/1] Tests: 3 failed, 723 passed, 726 total
[13:12:18][Step 1/1] Snapshots: 0 total
[13:12:18][Step 1/1] Time: 39.298 s
[13:12:18][Step 1/1] Ran all test suites.
[13:12:18][Step 1/1] Build cashtab-tests failed with exit code 1
[13:12:48][Step 1/1] Process exited with code 1
[13:12:48][Step 1/1] Process exited with code 1 (Step: Command Line)
[13:12:48][Step 1/1] Waiting for 1 service processes to complete
[13:12:48][Step 1/1] Ant JUnit report watcher
[13:12:48][Ant JUnit report watcher] 1 report found for paths:
[13:12:48][Ant JUnit report watcher] /home/teamcity/buildAgent/work/jailed-build/results/artifacts/junit/*.xml
[13:12:48][Ant JUnit report watcher] Successfully parsed
[13:12:48][Successfully parsed] 1 report
[13:12:48][Successfully parsed] results/artifacts/junit/cashtab.xml
[13:12:48][Step 1/1] Step Command Line failed
[13:12:49]Ant JUnit report watcher
[13:12:49][Ant JUnit report watcher] No reports found for paths:
[13:12:49][Ant JUnit report watcher] +:results/test_bitcoin.xml
[13:12:49][Ant JUnit report watcher] +:results/**/junit_results*.xml
[13:12:49][Ant JUnit report watcher] +:results/**/*junit.xml
[13:12:49]Publishing internal artifacts (5s)
[13:12:54][Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[13:12:54][Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[13:12:49]Publishing artifacts (6s)
[13:12:49][Publishing artifacts] Collecting files to publish: [+:results/**/junit_results*.xml, +:bitcoin-abc/abc-ci-builds/cashtab-tests/gitian-results => cashtab-tests.tar.gz, +:bitcoin-abc/abc-ci-builds/cashtab-tests/*.log => artifacts.tar.gz]
[13:12:49][Publishing artifacts] Artifacts path 'results/**/junit_results*.xml' not found
[13:12:49][Publishing artifacts] Artifacts path 'bitcoin-abc/abc-ci-builds/cashtab-tests/gitian-results' not found
[13:12:49][Publishing artifacts] Artifacts path 'bitcoin-abc/abc-ci-builds/cashtab-tests/*.log' not found
[13:12:55]Build finished
×

×

Pin build

Cancel
×

Add build comment

Cancel
×

Promote Build

×

Add build comment

Cancel
×

Mute test

×

×

Server communication failure

Server is unavailable

Server stopped or communication with the server is not possible due to network failure.

Server shutdown started.

Please relogin to continue your work.

×

Run Custom Build

×

TODO

Loading related builds...
Cancel
×

Responsibility

×

Edit tags

Cancel
×

Loading...

×

Are you sure?

Cancel
×

Cancel