Files
jmespath-playground/src/App.test.js
Slawomir Koszewski c09e545637 Initial commit: JMESPath Testing Tool
- React-based web application for testing JMESPath expressions
- macOS-first containerization with Apple container command
- Bootstrap UI with real-time evaluation
- GitHub Actions CI/CD pipeline
- Docker fallback support
- Comprehensive documentation and development scripts
2026-01-18 13:19:07 +01:00

22 lines
752 B
JavaScript

import { render, screen } from '@testing-library/react';
import App from './App';
test('renders JMESPath Testing Tool title', () => {
render(<App />);
const titleElement = screen.getByText(/JMESPath Testing Tool/i);
expect(titleElement).toBeInTheDocument();
});
test('renders input areas', () => {
render(<App />);
const jmespathInput = screen.getByPlaceholderText(/Enter JMESPath expression/i);
const jsonInput = screen.getByPlaceholderText(/Enter JSON data here/i);
expect(jmespathInput).toBeInTheDocument();
expect(jsonInput).toBeInTheDocument();
});
test('renders result area', () => {
render(<App />);
const resultArea = screen.getByPlaceholderText(/Results will appear here/i);
expect(resultArea).toBeInTheDocument();
});