Skip to content

Commit 07fdbcf

Browse files
committed
fixup! docs: add AGENTS.md guide for AI agents
1 parent c43a5b2 commit 07fdbcf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎AGENTS.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ This is the source code for the Angular CLI and related build tooling. This guid
2727
- **Temporary Directories (`TEST_TMPDIR`):**
2828
- Tests in this repository only run in Bazel. **ALWAYS** use `process.env['TEST_TMPDIR']` and assert that it is set:
2929
```ts
30+
import assert from 'node:assert';
31+
3032
const baseTmpDir = process.env['TEST_TMPDIR'];
3133
assert(baseTmpDir, 'TEST_TMPDIR is not set');
3234
```
@@ -35,7 +37,7 @@ This is the source code for the Angular CLI and related build tooling. This guid
3537
- Run all unit tests: `pnpm bazel test //packages/...`
3638
- Run a specific test target: `pnpm bazel test //packages/angular/build:test`
3739
- Query test targets: `pnpm bazel query "tests(//packages/...)"`
38-
- Focus specific tests when debugging: use `fdescribe()` and `fit()`.
40+
- Focus specific tests when debugging: use `fdescribe()` and `fit()`. NEVER commit focused tests to the repository.
3941
- **End-to-End Tests:**
4042
- Run subset of E2E tests: `pnpm bazel test //tests:e2e_node22 --config=e2e --test_filter="<filter>"`
4143

0 commit comments

Comments
 (0)