Skip to content

docs(agents): fix test command — tests/ does not exist - #61

Open
3822802 wants to merge 1 commit into
base:mainfrom
3822802:fix-agents-test-command
Open

docs(agents): fix test command — tests/ does not exist#61
3822802 wants to merge 1 commit into
base:mainfrom
3822802:fix-agents-test-command

Conversation

@3822802

@3822802 3822802 commented Aug 13, 2026

Copy link
Copy Markdown

Summary

AGENTS.md documents a test command that cannot run: there is no tests/ directory in this repo.

Current

## Testing

- Run the llms-kit suite: `node --test tests/`
- Include liveness checks against the deployed site: `LLMS_LIVE=1 node --test tests/`

Problem

  • tests/ does not exist — the repo root contains .claude/, .github/, app/, githooks/, public/, scripts/, vendor/
  • The project uses vitest, not node --test:
    • package.json"test": "vitest run", vitest@^2.1.9 in devDependencies
    • README.md → "npm test — vitest"
    • CI (.github/workflows/ci.yml) runs vitest

An agent that follows AGENTS.md gets Could not find test files and may conclude the suite is broken, when it simply used the wrong runner.

Fix

Point the Testing section at the command the project actually uses, keeping the LLMS_LIVE=1 env var since that is read by the tests themselves, not by the runner.

-- Run the llms-kit suite: `node --test tests/`
-- Include liveness checks against the deployed site: `LLMS_LIVE=1 node --test tests/`
+- Run the test suite: `npm test` (vitest)
+- Include liveness checks against the deployed site: `LLMS_LIVE=1 npm test`

@vercel

vercel Bot commented Aug 13, 2026

Copy link
Copy Markdown

@3822802 is attempting to deploy a commit to the Coinbase Team on Vercel.

A member of the Team first needs to authorize it.

@cb-heimdall

cb-heimdall commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

AGENTS.md tells agents to run `node --test tests/`, but there is no
tests/ directory in the repo. The project uses vitest (`npm test` ->
`vitest run`), and CI runs vitest as well.

An agent following AGENTS.md hits 'Could not find test files' and may
conclude the suite is broken.
@3822802
3822802 force-pushed the fix-agents-test-command branch from 5c8e007 to 1d65b28 Compare August 13, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants