From 5a148c3a71c71694d6baa71d064069bbe7a2af2c Mon Sep 17 00:00:00 2001 From: Chenyao Yu <4844716+chenyaoy@users.noreply.github.com> Date: Tue, 21 May 2024 17:06:28 -0400 Subject: [PATCH] Update README.md for running single Indexer test file (#1562) --- indexer/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indexer/README.md b/indexer/README.md index c9bcec0095..26fab47508 100644 --- a/indexer/README.md +++ b/indexer/README.md @@ -107,6 +107,8 @@ pnpm run test:all If you change any logic, you'll have to re-build the services and packages before running unit tests. +### To run a single test file: +`cd services/{service_name} && pnpm build && pnpm test -- {test_name}` # Running Dockerfile locally TODO(DEC-671): Add e2e tests