-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(tests/e2e): rename environment variables
- Loading branch information
1 parent
c344e35
commit 37ff655
Showing
10 changed files
with
88 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,13 @@ | |
PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS=1 | ||
|
||
# Can replace with a localhost instance if needed. Ensure doesn't end with / | ||
WALLET_URL_ORIGIN=https://rafiki.money | ||
WALLET_USERNAME=[email protected] | ||
WALLET_PASSWORD=some-password | ||
TEST_WALLET_ORIGIN=https://rafiki.money | ||
TEST_WALLET_USERNAME=[email protected] | ||
TEST_WALLET_PASSWORD=some-password | ||
|
||
# To connect extension to wallet | ||
CONNECT_WALLET_ADDRESS_URL="https://ilp.rafiki.money/something" | ||
|
||
TEST_WALLET_ADDRESS_URL="https://ilp.rafiki.money/something" | ||
# We'll make extension use this key-pair consistently. See docs/CONTRIBUTING.md | ||
CONNECT_KEY_ID=uuid-v4-key-id | ||
CONNECT_PUBLIC_KEY="base-64-public-key==" | ||
CONNECT_PRIVATE_KEY="hex-encoded-private-key" | ||
TEST_WALLET_KEY_ID=uuid-v4-key-id | ||
TEST_WALLET_PUBLIC_KEY="base-64-public-key==" | ||
TEST_WALLET_PRIVATE_KEY="hex-encoded-private-key" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
declare global { | ||
namespace NodeJS { | ||
interface ProcessEnv { | ||
/** Can replace with a localhost instance if needed */ | ||
TEST_WALLET_ORIGIN: string; | ||
TEST_WALLET_USERNAME: string; | ||
TEST_WALLET_PASSWORD: string; | ||
/** Wallet address that we'll use to connect with the extension */ | ||
TEST_WALLET_ADDRESS_URL: string; | ||
/** UUID v4 */ | ||
TEST_WALLET_KEY_ID: string; | ||
/** Base-64 public key */ | ||
TEST_WALLET_PUBLIC_KEY: string; | ||
/** Hex-encoded private key */ | ||
TEST_WALLET_PRIVATE_KEY: string; | ||
} | ||
} | ||
} | ||
|
||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters