Skip to content

Commit

Permalink
Updating e2e section
Browse files Browse the repository at this point in the history
  • Loading branch information
erdimaden committed Jul 10, 2024
1 parent df16606 commit 82f02ba
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,16 @@ npx jest ./src/coinbase/tests/wallet_test.ts
```
To run e2e tests, run:

In the root directory, create a .env file with the following configuration. Ensure to update the placeholders with your actual data:
```bash
npm run test:dry-run && NAME="placeholder" PRIVATE_KEY="placeholder" WALLET_DATA="placeholder" && npm run test:e2e
NAME=API_KEY_NAME
PRIVATE_KEY=API_PRIVATE_KEY
WALLET_DATA={ "WALLET_ID": { "seed": "", "encrypted": false, "authTag": "", "iv": "" } }
```
Then run the following commands:
```bash
npm run test:dry-run && npm run test:e2e
```
### Generating Documentation
Expand Down

0 comments on commit 82f02ba

Please sign in to comment.