File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
100100delete_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
You can’t perform that action at this time.
0 commit comments