71ede25339
* chore: upgrade react only * chore: import renderHook from testing-library/react * chore: add @babel/runtime to fix tests * fix: fix some of the tests * fix: fix some of the tests * fix: fix tests failing on not being wrapped in act * fix: fix tests in use-environment * fix: fix @types/react issue * fix: fix formatting * fix: remove unsued method * fix: callout not accepting react node and root element null check * fix: main.tsx stats null check * fix: implicit any type fixes * Update libs/environment/src/hooks/use-nodes.spec.tsx * fix: import act from testing-lib * fix: add strict mode back * fix: fix formatting issues * fix: add babel deps for storybook * Update tsconfig.json (#970) * Update tsconfig.json * feat: [console-lite] - add missing types in few places Co-authored-by: maciek <maciek@vegaprotocol.io> * chore(#952): remove any from useDataProvider hook Co-authored-by: macqbat <kubat.maciek@gmail.com> Co-authored-by: maciek <maciek@vegaprotocol.io> Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com> |
||
---|---|---|
.. | ||
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.