Skip to content

Commit

Permalink
Add tests for utils
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzh committed Nov 18, 2020
1 parent 91061bd commit 38aa611
Show file tree
Hide file tree
Showing 3 changed files with 149 additions and 16 deletions.
28 changes: 13 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,32 +117,30 @@ set to tag "LaunchAction" absolute path to this library with options:

Tests

1. inside root directory of ton-client-swift create **.env.debug** file with
NODE SE
```
server_address=http:https://localhost:80
giver_address=0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94
giver_abi_name=GiverNodeSE
giver_function=sendGrams
giver_amount=10000000000
```
1. inside root directory of ton-client-swift create **.env.debug** file with
NET TON DEV
```
server_address=https://net.ton.dev
giver_address=0:653b9a6452c7a982c6dc92b2da9eba832ade1c467699ebb3b43dca6d77b780dd
giver_abi_name=Giver
giver_function=grant
```

2. Install locale NodeSE for tests if you needed:
**Optional:** Install locale NodeSE for tests if you needed:
- launch docker
- install nodejs to your OS
- npm install -g ton-dev-cli
- ton start

by default nodeSE will start on localhost:80
- ton start
by default nodeSE will start on localhost:80
NODE SE
```
server_address=http:https://localhost:80
giver_address=0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94
giver_abi_name=GiverNodeSE
giver_function=sendGrams
giver_amount=10000000000
```

3. Run Tests
2. Run Tests
MacOS:
Run Tests inside Xcode
Linux:
Expand Down
Loading

0 comments on commit 38aa611

Please sign in to comment.