All challengesCHALLENGE 06 OF 25

Add Missing Testing Guidance

Set a clear expectation for running relevant tests.

Beginner

Goal

Add testing guidance so agents know when repository tests should be updated and run.

Repository Context

This TypeScript service uses Vitest.

Code exampleMarkdown
orders-service/
├── src/
│   ├── routes/
│   ├── services/
│   └── utils/
├── tests/
├── package.json
└── AGENTS.md

Available commands:

Code exampleMarkdown
pnpm lint
pnpm typecheck
pnpm test

The repository expects behavior changes to include relevant test updates.

Current AGENTS.md

Code exampleMarkdown
# Project Instructions

## Development

- Use `pnpm`.
- Keep HTTP handling in `src/routes`.
- Keep business logic in `src/services`.

## Validation

Before completing substantial changes, run:

- `pnpm lint`
- `pnpm typecheck`

Your Task

Add instructions requiring relevant tests to be added or updated when behavior changes.

Also include the repository's test command in the validation workflow.

YOUR AGENTS.mdEdit the Current AGENTS.md shown in the challenge
AGENTS.mdMarkdown
Loading editor…

Sign in to save progress across devices.

Your answer is checked locally against the challenge rules. No AI is used for evaluation.