Skip to content

Commit

Permalink
chore: remove --token flag with --dry-run in tests (#61)
Browse files Browse the repository at this point in the history
This is not needed anymore with newer Deno versions.
  • Loading branch information
marvinhagemeister authored Mar 11, 2024
1 parent 93d0856 commit 1973af9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/commands.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ describe("publish", () => {
},
});

await runJsr(["publish", "--dry-run", "--token", "dummy-token"], dir);
await runJsr(["publish", "--dry-run"], dir);
});
}).timeout(600000);

Expand All @@ -537,7 +537,7 @@ describe("publish", () => {
});

try {
await runJsr(["publish", "--dry-run", "--token", "dummy-token"], dir);
await runJsr(["publish", "--dry-run"], dir);
assert.fail();
} catch (err) {
assert.ok(err instanceof ExecError, `Unknown exec error thrown`);
Expand Down Expand Up @@ -574,7 +574,7 @@ describe("publish", () => {
},
});

await runJsr(["publish", "--dry-run", "--token", "dummy-token"], dir);
await runJsr(["publish", "--dry-run"], dir);

assert.ok(
!(await isDirectory(path.join(dir, "node_modules", ".deno"))),
Expand Down

0 comments on commit 1973af9

Please sign in to comment.