vega-frontend-monorepo/libs/network-switcher
botond 71226e3d75
fix: network env var escaping (#541)
* fix: network env var escaping

* fix: remove logging
2022-06-10 13:59:55 +01:00
..
src fix: network env var escaping (#541) 2022-06-10 13:59:55 +01:00
.babelrc Feat/6 Network Switcher (#502) 2022-06-10 10:15:38 +01:00
.eslintrc.json Feat/6 Network Switcher (#502) 2022-06-10 10:15:38 +01:00
jest.config.js Feat/6 Network Switcher (#502) 2022-06-10 10:15:38 +01:00
package.json Feat/6 Network Switcher (#502) 2022-06-10 10:15:38 +01:00
project.json Feat/6 Network Switcher (#502) 2022-06-10 10:15:38 +01:00
README.md Feat/6 Network Switcher (#502) 2022-06-10 10:15:38 +01:00
tsconfig.json Feat/6 Network Switcher (#502) 2022-06-10 10:15:38 +01:00
tsconfig.lib.json Feat/6 Network Switcher (#502) 2022-06-10 10:15:38 +01:00
tsconfig.spec.json Feat/6 Network Switcher (#502) 2022-06-10 10:15:38 +01:00

network-switcher

This library was generated with Nx.

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

Running unit tests

Run nx test network-switcher to execute the unit tests via Jest.