45d05b38f9
* fix: disallow updating custom node before validation * fix: format * fix: lint * feat: add node switcher component tests * fix: environment filter |
||
---|---|---|
.. | ||
src | ||
.babelrc | ||
.eslintrc.json | ||
jest.config.js | ||
package.json | ||
project.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.lib.json | ||
tsconfig.spec.json |
environment
This library was generated with Nx.
Prerequisites
The environment variables needed to be present for any app consuming this library.
NX_VEGA_ENV
is the name of the environment.
NX_VEGA_REST
is the REST endpoint for the environment.
NX_VEGA_URL
OR NX_VEGA_CONFIG_URL
- either the network configuration url or a url to a node to directly connect to
NX_VEGA_WALLET_URL
the default vega wallet URL
For examples, see Block Explorer's .env files here
Running unit tests
Run nx test environment
to execute the unit tests via Jest.