18 lines
466 B
Markdown
18 lines
466 B
Markdown
|
# network-switcher
|
||
|
|
||
|
This library was generated with [Nx](https://nx.dev).
|
||
|
|
||
|
## Prerequisites
|
||
|
|
||
|
Two environment variables need 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.
|
||
|
|
||
|
For examples, see Block Explorer's .env files [here](../../apps/explorer)
|
||
|
|
||
|
## Running unit tests
|
||
|
|
||
|
Run `nx test network-switcher` to execute the unit tests via [Jest](https://jestjs.io).
|