env.test.tsx
import { render, screen } from '@testing-library/react';
import { describe, it, expect } from 'vitest';
describe('Environment Test', () => {
it('should find an input by its label', () => {
render(
<div>
<label htmlFor="test-id">Test Label</label>
<input id="test-id" name="test-input" />
</div>
);
const input = screen.getByLabelText('Test Label');
expect(input).toBeInTheDocument();
});
});