Skip to content

Commit

Permalink
Mesh 1696/finish converting TS tests to Jest (#1196)
Browse files Browse the repository at this point in the history
* created 8_asset_minting Jest Test

* created 9_bridge_transfer Jest Test

* created 10_governance_management Jest Test

* created 11_A_settlement & 11_B_settlement Jest Tests

* created 12_external_agents Jest Test and modified createVenue function

* removed old TS Tests

* minor change

* created 13_corporate_actions Jest Test

* created 14_investment Jest Test

* remove old TS Tests

* updated libraries

* modified jest.config, package.json, init.ts, and jest tests

* created 15_portfolio, 16_relayer, and 17_itn_rewards

* removed old TS tests

* updated types and package.json libraries with minor changes to scripts

* minor change

* minor formatting

* updated readme

* updated types

* updated types

* minor changes

* minor scripts change in package.json

* Trigger new concourse run.  Remove unused sqlite.

* minor change

* updated types and package.json

* minor change

* minor change

* minor changes

* minor changes

Co-authored-by: Robert G. Jakabosky <rjakabosky+neopallium@neoawareness.com>
Co-authored-by: Adam Dossa <adam.dossa@gmail.com>
  • Loading branch information
3 people authored and Centril committed Apr 20, 2022
1 parent 562ddd8 commit c4542e7
Show file tree
Hide file tree
Showing 55 changed files with 4,365 additions and 6,638 deletions.
12 changes: 9 additions & 3 deletions scripts/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ $ ./run.sh
$ ./node_modules/.bin/pm2 log pmesh-primary-node
$ ./node_modules/.bin/pm2 log pmesh-peer-node-1
$ ./node_modules/.bin/pm2 log pmesh-peer-node-2
# Stop the node
$ ./stop.sh
```

To run the scripts and execute transactions:

1. Build latest types `npm run build:types`
2. Compile Typescript files `npm run build`
3. Run integration tests `npm run test`
1. Compile Typescript files `npm run build`
2. Run integration tests `npm test`

To stop the node use `./stop.sh`:

Expand All @@ -50,6 +51,11 @@ The test scripts include those named below, and most make up `npm test`:
- 11_A_settlement
- 11_B_settlement
- 12_external_agents
- 13_corporate_actions
- 14_investment
- 15_portfolio
- 16_relayer
- 17_itn_rewards

To run a single script:
```shell
Expand Down
Loading

0 comments on commit c4542e7

Please sign in to comment.