Skip to content

Commit 1973af9

Browse files
authoredMar 11, 2024
chore: remove --token flag with --dry-run in tests (#61)
This is not needed anymore with newer Deno versions.
1 parent 93d0856 commit 1973af9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎test/commands.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ describe("publish", () => {
514514
},
515515
});
516516

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

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

539539
try {
540-
await runJsr(["publish", "--dry-run", "--token", "dummy-token"], dir);
540+
await runJsr(["publish", "--dry-run"], dir);
541541
assert.fail();
542542
} catch (err) {
543543
assert.ok(err instanceof ExecError, `Unknown exec error thrown`);
@@ -574,7 +574,7 @@ describe("publish", () => {
574574
},
575575
});
576576

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

579579
assert.ok(
580580
!(await isDirectory(path.join(dir, "node_modules", ".deno"))),

0 commit comments

Comments
 (0)