From e11b8efc064efea55de26baa65b76c3c15473c8a Mon Sep 17 00:00:00 2001 From: harkl <89045610+h4rkl@users.noreply.github.com> Date: Thu, 19 Aug 2021 14:43:08 +1200 Subject: [PATCH] docs: Add reference for `anchor test --skip-local-validator` (#624) --- docs/src/cli/commands.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/cli/commands.md b/docs/src/cli/commands.md index 40f8400b7..6aec6664b 100644 --- a/docs/src/cli/commands.md +++ b/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/
..log`