Files
nym/clients/validator
Tommy Verrall f8171f3beb update integration test for when run in gh actions
- removing and cleaning
- next step is to start mocking out a few of the other basic interactions with the client
2022-01-19 16:49:46 +00:00
..
2022-01-14 16:34:09 +00:00
2021-12-16 15:35:30 +00:00
2021-03-24 11:49:58 +00:00
2021-03-09 11:32:51 +00:00
2021-12-16 15:35:30 +00:00
2021-03-24 11:49:58 +00:00

Nym Validator Client

A TypeScript client for interacting with CosmWasm smart contracts in Nym validators.

Running tests

The tests will be separated into three categories: unit, integration and mock.

Currently the command to run all tests:

npm test

The tests require .env.example being renamed to .env. The variables and their values for these tests are currently pointing to the nym-sandbox environment.

Tests are still in development - the test libary is jest and the test script will execute currently with: --coverage --verbosity false

Generating Documentation

You can generate docs by running npm run docs. Generated output will appear in the docs directory.

Packaging

If you're a Nym platform developer who's made changes to the client and wants to re-publish the package to NPM, here's how you do it:

  1. Bump the version number (use SemVer)
  2. npm run build
  3. npm login (if you haven't already)
  4. npm publish