]> git.ardis.lu - seed-phrase-transposer/commitdiff
Remove unnecessary placeholder variable
authorArdis Lu <ardisglu@gmail.com>
Thu, 28 Dec 2023 06:57:52 +0000 (22:57 -0800)
committerArdis Lu <ardisglu@gmail.com>
Thu, 28 Dec 2023 06:57:52 +0000 (22:57 -0800)
main_test.ts

index 879f5bde08067dc81ccc8916db4293bd6f900edf..892b2de8e076848d8ff1a61b7fff8888e7b4e910 100644 (file)
@@ -188,7 +188,7 @@ Deno.test("main logs permutations of a 12-word seed phrase", () => {
   const promptStub = stub(
     globalThis,
     "prompt",
-    (_) => "1 4 7 10 2 5 8 11 3 6 9 12",
+    () => "1 4 7 10 2 5 8 11 3 6 9 12",
   );
 
   main();
@@ -203,7 +203,7 @@ Deno.test("main exits cleanly on a malformed seed phrase", () => {
   const promptStub = stub(
     globalThis,
     "prompt",
-    (_) => "1 2 3 4 5",
+    () => "1 2 3 4 5",
   );
 
   assertThrows(main); // Calling Deno.exit() within a test throws an error
This page took 0.040443 seconds and 4 git commands to generate.