From b56ca46cb1952381bd73829edfe27b140f3a73c5 Mon Sep 17 00:00:00 2001 From: Alexandru Dima Date: Mon, 15 Sep 2025 16:05:35 -0700 Subject: [PATCH] Always prefer using the run test tool (#266994) --- .github/copilot-instructions.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index a17472617fc..aa2f76dafe3 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -61,8 +61,7 @@ You MUST check compilation output before running ANY script or declaring work co - Start the task if it's not already running in the background ### TypeScript validation steps -- Use run test tool or `scripts/test.sh` (`scripts\test.bat` on Windows) for unit tests (add `--grep ` to filter tests) -- Use `scripts/test-integration.sh` (or `scripts\test-integration.bat` on Windows) for integration tests +- Use the run test tool if you need to run tests. If that tool is not available, then you can use `scripts/test.sh` (or `scripts\test.bat` on Windows) for unit tests (add `--grep ` to filter tests) or `scripts/test-integration.sh` (or `scripts\test-integration.bat` on Windows) for integration tests (integration tests end with .integrationTest.ts or are in /extensions/). - Use `npm run valid-layers-check` to check for layering issues ## Coding Guidelines