Skip to content

Commit 2238803

Browse files
author
grePod
committed
fix: typo + readme update
1 parent d3086b2 commit 2238803

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,14 @@ $ yarn run start:dev
4040

4141
## Testing with postgresql dump
4242

43-
Download the database instances from the following links:
43+
Download the database instances from the following links and move them to `/e2e_tests/db/`:
4444

45-
- [BTC Testnet Database](https://githubstatic.flare.center/db_btc_testnet)
46-
- [DOGE Testnet Database](https://githubstatic.flare.center/db_doge_testnet)
47-
- [XRP Testnet Database](https://githubstatic.flare.center/db_xrp_testnet)
45+
- [BTC Testnet Database](https://githubstatic.flare.center/db_btc_testnet) as `db_btc_testnet`
46+
- [BTC2 Testnet Database](https://githubstatic.flare.center/db_btc2_testnet) as `db_btc2_testnet`
47+
- [DOGE Testnet Database](https://githubstatic.flare.center/db_doge_testnet) as `db_doge_testnet`
48+
- [XRP Testnet Database](https://githubstatic.flare.center/db_xrp_testnet) as `db_xrp_testnet`
4849

49-
Move these database dumps to the `/e2e_tests/db/` directory. Currently, all databases are on testnets.
50+
Currently, all databases are from testnets.
5051

5152
### Option 1: Running Tests Against a Database Instance
5253

test/e2e_tests/run_tests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,17 @@ _run_all_tests(){
8989
echo ""
9090

9191
if [ "$1" == "coverage" ]; then
92-
echo Runing all tests with coverage
92+
echo Running all tests with coverage
9393
nyc mocha -r ts-node/register --require source-map-support/register "test/e2e_tests/**/*.e2e-spec.ts"
9494
else
95-
echo Runing all tests
95+
echo Running all tests
9696
mocha -r ts-node/register --require source-map-support/register "test/e2e_tests/**/*.e2e-spec.ts"
9797
fi
9898
}
9999

100100
delete_db(){
101101
echo ""
102-
echo Stoping and removing DB
102+
echo Stopping and removing DB
103103
docker compose -f test/e2e_tests/db/docker-compose.yaml down
104104
}
105105

0 commit comments

Comments
 (0)