Skip to content

Commit

Permalink
#28 Remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
JabobKrauskopf committed Mar 5, 2023
1 parent 02ce937 commit 108de91
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/utils/env.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,13 @@ describe("Env Utils", () => {

test("SSH_PORT has correct default value", async () => {
process.env.SSH_ENABLED = "true";
process.env.SSH_PRIVATE_KEY_PATH = "path";

const { env } = await import("../../server/utils/env");

expect(env.SSH_ENABLED).toBe("true");
if (env.SSH_ENABLED !== "true") {
fail("I have failed you!");
}
expect(env.SSH_PRIVATE_KEY_PATH).toBe("path");
expect(env.SSH_PORT).toBe(22);
});

Expand Down

0 comments on commit 108de91

Please sign in to comment.