cosmjs-util/packages/faucet-client
2021-01-26 16:37:03 +00:00
..
nonces Add nonces 2021-01-26 16:36:30 +00:00
src faucet-client: Add tests 2020-10-14 13:11:28 +02:00
types faucet-client: Add FaucetClient class 2020-10-14 13:11:28 +02:00
.eslintignore faucet-client: Add basic files 2020-10-14 13:11:27 +02:00
.gitignore faucet-client: Add basic files 2020-10-14 13:11:27 +02:00
.nycrc.yml faucet-client: Add basic files 2020-10-14 13:11:27 +02:00
jasmine-testrunner.js Add SES lockdown to testrunners 2021-01-19 17:42:28 +00:00
karma.conf.js faucet-client: Add basic files 2020-10-14 13:11:27 +02:00
package.json v0.24.0-alpha.19 2021-01-26 16:37:03 +00:00
README.md Rename branch master -> main 2021-01-19 23:37:10 +01:00
tsconfig.json faucet-client: Add basic files 2020-10-14 13:11:27 +02:00
typedoc.js faucet-client: Add basic files 2020-10-14 13:11:27 +02:00
webpack.web.config.js faucet-client: Add basic files 2020-10-14 13:11:27 +02:00

@cosmjs/faucet-client

npm version

Running the tests

First of all you will need an instance of wasmd running. From the root directory of this repository:

./scripts/launchpad/start.sh && ./scripts/launchpad/init.sh

You will also need a faucet. From the root directory of this repository:

cd packages/faucet
yarn start-dev

The tests need to be told you are running the faucet via an environmental variable:

export FAUCET_ENABLED=1

Finally run the tests from this directory:

yarn test

License

This package is part of the cosmjs repository, licensed under the Apache License 2.0 (see NOTICE and LICENSE).