This is the long living development branch for zksync-cli automation
Why :hand:
To prepare set of tests to verify zksync-cli in command line on different platforms
Evidence :camera:
Notes :memo:
To run CLI tests for zksync-cli do the following:
Make preparation steps 1 and 2 from Building for production, or just run npm i && npm run build
Make sure you see your development build 0.0.0-development using npx zksync-cli --version. If not, install it in depends of your OS settings: npm i -g .or sudo npm i -g . If you have any other zksync-cli package installed globally npm ls -g, just remove it in advance npm remove zksync-cli -g.
What :computer:
This is the long living development branch for zksync-cli automation
Why :hand:
To prepare set of tests to verify zksync-cli in command line on different platforms
Evidence :camera:
Notes :memo:
To run CLI tests for zksync-cli do the following:
Make preparation steps
1
and2
fromBuilding for production
, or justrun npm i && npm run build
Make sure you see your development build
0.0.0-development
usingnpx zksync-cli --version
. If not, install it in depends of your OS settings:npm i -g .
orsudo npm i -g .
If you have any other zksync-cli package installed globallynpm ls -g
, just remove it in advancenpm remove zksync-cli -g
.Make sure you have Docker on your system.
Rename
.env.example
to.env
in./test/src/
dir and add your wallet private key to this file. F.e.: It may looks likeE2E_TESTNET_PK=012345...abcdef
Run
npm run test