# Tests

> Docker Frontend Tests Skill

- Skill: `leonj1/tests-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add leonj1/tests-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/leonj1/tests-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: leonj1 (https://skillmd.com/u/leonj1)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/leonj1/tests-2

---

# Docker Frontend Tests Skill

## Description
Frontend project tests must run within a Docker container defined by a Dockerfile.frontend.tests that includes all required dependencies.

## Requirements
- A `Dockerfile.frontend.tests` must exist in the frontend project root
- The Dockerfile must include all dependencies needed to run the frontend tests
- The Docker image must build successfully

## Validation
Run the following command to validate the Dockerfile:

```bash
docker build -f Dockerfile.frontend.tests -t frontend-tests .
```

A successful build (exit code 0) indicates the Dockerfile is valid and complete.

