瀏覽代碼

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

harkl 4 年之前
父節點
當前提交
e11b8efc06
共有 1 個文件被更改,包括 2 次插入0 次删除
  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`