From f378972ef849d4551332b0b81694b90a0c53b2c5 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Thu, 4 Jun 2026 20:43:09 +0800 Subject: [PATCH] docs: fix test workflow docs --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 632b089..77826e4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -131,7 +131,7 @@ const pageInfo = await this.pageController.getPageInfo() - **Framework**: Vitest (unit tests only for now; future E2E goes to `packages/e2e/` with Playwright) - **Location**: co-located, `src/foo.test.ts` next to `src/foo.ts` - **Coverage today**: `packages/llms` only — other packages will follow incrementally -- **Adding tests to a new package**: create `vitest.config.ts` in the package and add a `"test": "vitest run"` script. `scripts/test.js` auto-discovers and `node scripts/ci.js` picks it up — no further wiring needed. +- **Adding tests to a new package**: create `vitest.config.ts` in the package and add a `"test": "vitest run"` script. Root `npm test` and `node scripts/ci.js` pick it up through npm workspaces. - **Template**: See @page-agent/llms ```bash