Skip to content

Commit

Permalink
refactor: 🚨 Fix linting errors in mod_test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka committed Oct 29, 2024
1 parent 8aa0a61 commit 1ff6493
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mod_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Deno.test("initVariable", async (t) => {
TEST_FILE && Deno.env.set(ENV_VAR + "_FILE", TEST_FILE);
}

await t.step("Value from Environment", async (t) => {
await t.step("Value from Environment", async () => {
prepare("value");
await initVariable(ENV_VAR, REQUIRED_PASSING);
assertEquals(
Expand Down Expand Up @@ -201,7 +201,7 @@ Deno.test("initVariable", async (t) => {
);
});

await t.step(`Value from ${ENV_VAR}_FILE file`, async (t) => {
await t.step(`Value from ${ENV_VAR}_FILE file`, async () => {
prepare(undefined, EXISTING_FILE);
await initVariable(ENV_VAR, REQUIRED_PASSING);
assertExists(
Expand Down Expand Up @@ -243,7 +243,7 @@ Deno.test("initVariable", async (t) => {
);
});

await t.step("value from default", async (t) => {
await t.step("value from default", async () => {
prepare();
await initVariable(ENV_VAR, REQUIRED_PASSING, DEFAULT_VALUE);
assertEquals(
Expand Down Expand Up @@ -279,7 +279,7 @@ Deno.test("initVariable", async (t) => {
);
});

await t.step("No Value", async (t) => {
await t.step("No Value", async () => {
prepare();
await assertRejects(
() => initVariable(ENV_VAR, REQUIRED_PASSING),
Expand All @@ -297,7 +297,7 @@ Deno.test("initVariable", async (t) => {
);
});

await t.step("Single Argument defaults to OPTIONAL", async (t) => {
await t.step("Single Argument defaults to OPTIONAL", async () => {
prepare("XXX");
await initVariable(ENV_VAR);
await assertEquals(
Expand Down

0 comments on commit 1ff6493

Please sign in to comment.