Skip to content

Commit

Permalink
test: add an .env.example file with description to integration-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Oct 18, 2023
1 parent ee9545a commit 8ac53d9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/integration-tests/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
WALLET_PRIVATE_KEY=
9 changes: 9 additions & 0 deletions packages/integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ Based on Jest.io/TypeScript/TDD.
npm install
```

## Setting up env variables

- Create `.env` file in the `integration-tests/src/playbook/` package folder and copy paste `.env.example` content in there.
```
cp .env.example packages/integration-tests/src/playbook/.env
```

- Add your private wallet key to `WALLET_PRIVATE_KEY=` By default you can put `richWalletPrivateKey` private key from `integration-tests/src/entities.ts`.

## Preparing a local environment

Make sure you have `Docker` installed. Before running the tests you need to spin up a local environment (use `docker-compose.yaml` from the root directory):
Expand Down

0 comments on commit 8ac53d9

Please sign in to comment.