Page MenuHomePhabricator

[Cashtab] Improve formatting of useWallet tests
ClosedPublic

Authored by bytesofman on Jan 31 2024, 22:49.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC134f73f09b04: [Cashtab] Improve formatting of useWallet tests
Summary

Add a describe block to organize these tests

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

revert package-lock.json changes

Tail of the build log:

/work/cashtab /work/abc-ci-builds/cashtab-tests
npm ERR! code EUSAGE
npm ERR! 
npm ERR! The `npm ci` command can only install with an existing package-lock.json or
npm ERR! npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
npm ERR! later to generate a package-lock.json file, then try again.
npm ERR! 
npm ERR! Clean install a project
npm ERR! 
npm ERR! Usage:
npm ERR! npm ci
npm ERR! 
npm ERR! Options:
npm ERR! [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
npm ERR! [-E|--save-exact] [-g|--global] [--global-style] [--legacy-bundling]
npm ERR! [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm ERR! [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
npm ERR! [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
npm ERR! [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]
npm ERR! 
npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
npm ERR! 
npm ERR! Run "npm help ci" for more info

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2024-01-31T22_51_11_027Z-debug-0.log
Build cashtab-tests failed with exit code 1
This revision is now accepted and ready to land.Jan 31 2024, 23:32
This revision was landed with ongoing or failed builds.Jan 31 2024, 23:54
This revision was automatically updated to reflect the committed changes.