Răsfoiți Sursa

docs: Add reference for `anchor test --skip-local-validator` (#624)

harkl 4 ani în urmă
părinte
comite
e11b8efc06
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      docs/src/cli/commands.md

+ 2 - 0
docs/src/cli/commands.md

@@ -95,6 +95,8 @@ the test.
 
 ::: tip Note
 Be sure to shutdown any other local validators, otherwise `anchor test` will fail to run.
+
+If you'd prefer to run the program against your local validator use `anchor test --skip-local-validator`.
 :::
 
 When running tests we stream program logs to `.anchor/program-logs/<address>.<program-name>.log`