Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add .env.example file with its description to integration-tests Readme.md #58

Merged
merged 6 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading