diff --git a/docs/guides/modules/optimize/pages/use-the-circleci-cli-to-split-tests.adoc b/docs/guides/modules/optimize/pages/use-the-circleci-cli-to-split-tests.adoc index 663436fc87..d43ecd96fb 100644 --- a/docs/guides/modules/optimize/pages/use-the-circleci-cli-to-split-tests.adoc +++ b/docs/guides/modules/optimize/pages/use-the-circleci-cli-to-split-tests.adoc @@ -317,7 +317,7 @@ jobs: - run: name: Run tests command: | - circleci tests glob 'lib/**/*_test.exs' + circleci tests glob 'test/**/*_test.exs' | circleci tests run --command='xargs -n1 echo > test_file_paths.txt' mix ecto.setup --quiet diff --git a/docs/guides/modules/test/pages/rerun-failed-tests.adoc b/docs/guides/modules/test/pages/rerun-failed-tests.adoc index da307ca842..fbf8ccef55 100644 --- a/docs/guides/modules/test/pages/rerun-failed-tests.adoc +++ b/docs/guides/modules/test/pages/rerun-failed-tests.adoc @@ -242,7 +242,7 @@ Ensure you are using `xargs` in your `circleci tests run` command to pass the li - run: name: Run tests command: | - circleci tests glob 'lib/**/*_test.exs' + circleci tests glob 'test/**/*_test.exs' | circleci tests run --command='xargs -n1 echo > test_file_paths.txt' mix ecto.setup --quiet