- Install Jest for unit testing with React Testing Library - Install Playwright for end-to-end testing - Configure Jest with proper TypeScript support and module mapping - Create test setup files and utilities for both unit and e2e tests Components: * Jest configuration with coverage thresholds * Playwright configuration with browser automation * Unit tests for LoginForm, AuthContext, and useSocketIO hook * E2E tests for authentication, dashboard, and agents workflows * GitHub Actions workflow for automated testing * Mock data and API utilities for consistent testing * Test documentation with best practices Testing features: - Unit tests with 70% coverage threshold - E2E tests with API mocking and user journey testing - CI/CD integration for automated test runs - Cross-browser testing support with Playwright - Authentication system testing end-to-end 🚀 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
45 lines
1.6 KiB
JSON
45 lines
1.6 KiB
JSON
{
|
|
"Commands:": "Kommandoar:",
|
|
"Options:": "Alternativ:",
|
|
"Examples:": "Døme:",
|
|
"boolean": "boolsk",
|
|
"count": "mengd",
|
|
"string": "streng",
|
|
"number": "nummer",
|
|
"array": "matrise",
|
|
"required": "obligatorisk",
|
|
"default": "standard",
|
|
"default:": "standard:",
|
|
"choices:": "val:",
|
|
"generated-value": "generert-verdi",
|
|
"Not enough non-option arguments: got %s, need at least %s": {
|
|
"one": "Ikkje nok ikkje-alternativ argument: fekk %s, treng minst %s",
|
|
"other": "Ikkje nok ikkje-alternativ argument: fekk %s, treng minst %s"
|
|
},
|
|
"Too many non-option arguments: got %s, maximum of %s": {
|
|
"one": "For mange ikkje-alternativ argument: fekk %s, maksimum %s",
|
|
"other": "For mange ikkje-alternativ argument: fekk %s, maksimum %s"
|
|
},
|
|
"Missing argument value: %s": {
|
|
"one": "Manglar argumentverdi: %s",
|
|
"other": "Manglar argumentverdiar: %s"
|
|
},
|
|
"Missing required argument: %s": {
|
|
"one": "Manglar obligatorisk argument: %s",
|
|
"other": "Manglar obligatoriske argument: %s"
|
|
},
|
|
"Unknown argument: %s": {
|
|
"one": "Ukjent argument: %s",
|
|
"other": "Ukjende argument: %s"
|
|
},
|
|
"Invalid values:": "Ugyldige verdiar:",
|
|
"Argument: %s, Given: %s, Choices: %s": "Argument: %s, Gjeve: %s, Val: %s",
|
|
"Argument check failed: %s": "Argumentsjekk mislukkast: %s",
|
|
"Implications failed:": "Konsekvensane mislukkast:",
|
|
"Not enough arguments following: %s": "Ikkje nok fylgjande argument: %s",
|
|
"Invalid JSON config file: %s": "Ugyldig JSON konfigurasjonsfil: %s",
|
|
"Path to JSON config file": "Bane til JSON konfigurasjonsfil",
|
|
"Show help": "Vis hjelp",
|
|
"Show version number": "Vis versjonsnummer"
|
|
}
|