Skip to content

Commit

Permalink
create temp files required at parent of tests folder
Browse files Browse the repository at this point in the history
  • Loading branch information
heyAyushh committed Sep 5, 2024
1 parent 8299cae commit 181ce43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/src/airdrop.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe("initializeKeypair", () => {

test("generates a new keypair and airdrops needed amount", async () => {
// We need to use a specific file name to avoid conflicts with other tests
const envFileName = "../temp/.env-unittest-initkeypair";
const envFileName = ".env-unittest-initkeypair";
const options: InitializeKeypairOptions = {
envFileName,
envVariableName: keypairVariableName,
Expand Down
2 changes: 1 addition & 1 deletion tests/src/keypair.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe("addKeypairToEnvFile", () => {

test("generates new keypair and writes to env if variable doesn't exist", async () => {
// We need to use a specific file name to avoid conflicts with other tests
const envFileName = "../temp/env-unittest-addkeypairtoenvfile";
const envFileName = ".env-unittest-addkeypairtoenvfile";
await addKeypairToEnvFile(testKeypair, "TEMP_KEYPAIR", envFileName);

// Now reload the environment and check it matches our test keypair
Expand Down

0 comments on commit 181ce43

Please sign in to comment.