From 380fd09b7716e3ef5f4423cc61c55f053206350d Mon Sep 17 00:00:00 2001 From: Affaan Mustafa Date: Thu, 12 Feb 2026 16:01:01 -0800 Subject: [PATCH] fix: use tests/run-all.js in npm test to avoid test file drift The package.json test script listed individual test files, which fell out of sync when session-manager.test.js and session-aliases.test.js were added to tests/run-all.js but not to package.json. Now npm test delegates to run-all.js so new test files are automatically included. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fb38548b..a1c1937d 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "scripts": { "postinstall": "echo '\\n ecc-universal installed!\\n Run: npx ecc-install typescript\\n Docs: https://github.com/affaan-m/everything-claude-code\\n'", "lint": "eslint . && markdownlint '**/*.md' --ignore node_modules", - "test": "node scripts/ci/validate-agents.js && node scripts/ci/validate-commands.js && node scripts/ci/validate-rules.js && node scripts/ci/validate-skills.js && node scripts/ci/validate-hooks.js && node tests/lib/utils.test.js && node tests/lib/package-manager.test.js && node tests/hooks/hooks.test.js && node tests/integration/hooks.test.js" + "test": "node scripts/ci/validate-agents.js && node scripts/ci/validate-commands.js && node scripts/ci/validate-rules.js && node scripts/ci/validate-skills.js && node scripts/ci/validate-hooks.js && node tests/run-all.js" }, "devDependencies": { "@eslint/js": "^9.39.2",