d03e4cf785
* network parameters table with key value rows and syntax blobs only for json values * inline row not for syntax * add unit test for network param table * add cypress test to verify if values are non-empty * remove some comments * rename formatNumber method to addDecimalsFormatNumber and simplify formatNumber * remove duplicate expect line * use AsyncRenderer and sort params asc * refactor and add extra tests to check ordering and loading cases * format big number params with addDecimals formatNumber * Update apps/explorer/src/app/routes/network-parameters/network-parameters.tsx Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com> * capitalize and refactor tests * missing ; caused formatting to fail Co-authored-by: madalinaraicu <“madalina@raygroup.uk”> Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com> |
||
---|---|---|
.. | ||
src | ||
.babelrc | ||
.eslintrc.json | ||
jest.config.js | ||
package.json | ||
project.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.lib.json | ||
tsconfig.spec.json |
network-stats
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-stats
to execute the unit tests via Jest.