From abdeab50ff52242f1beb5a49d2db66cfeabda5ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Wed, 20 May 2026 12:25:45 +0300 Subject: [PATCH] feat(infra): add test:tools npm script (B3-1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Canonical entry point for tools/observer-*.test.mjs Vitest runner. Closes B3-1 from brain-retro 2026-05-20 (АДДЕНДУМ B3). Run via: npm run test:tools (in repo root) Co-Authored-By: Claude Sonnet 4.6 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c9fa15c0..1d6ea504 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "check:docs": "run-p lint:md spell links a11y", "sast": "semgrep --config=p/php --config=p/javascript --config=p/typescript --config=p/secrets --config=.semgrep.yml --error --time", "eval:llm": "promptfoo eval -c docs/ml/promptfoo-example/promptfooconfig.yaml", - "brain:dashboard": "node tools/brain-dashboard-server.mjs" + "brain:dashboard": "node tools/brain-dashboard-server.mjs", + "test:tools": "cd app && npx vitest run --config vitest.config.tools.mjs" }, "devDependencies": { "@cspell/dict-en_us": "^4.4.33",