Skip to content

Commit

Permalink
Merge pull request #7 from druspencer/fix/addKeypairToEnvFile-test-fix
Browse files Browse the repository at this point in the history
fix: fix failing addKeypairToEnvFile test
  • Loading branch information
mikemaccana authored Jan 3, 2024
2 parents 2c165df + 85008cc commit 084a02d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ describe("addKeypairToEnvFile", () => {
});

test("generates new keypair and writes to env if variable doesn't exist", async () => {
addKeypairToEnvFile(testKeypair, "TEMP_KEYPAIR");
await addKeypairToEnvFile(testKeypair, "TEMP_KEYPAIR");

// Now reload the environemnt and check it matches our test keypair
// Now reload the environment and check it matches our test keypair
dotenv.config();

// Get the secret from the .env file
Expand Down

0 comments on commit 084a02d

Please sign in to comment.