import { describe, it, expect } from 'vitest';
import { ModelTest } from '../../src/admin/views/model-test.js';
describe('ModelTest component', () => {
it('should render a details section with test form elements', () => {
const html = String();
expect(html).toContain(' {
const html = String();
expect(html).toContain('onclick="runTest()"');
});
it('should have valid JavaScript in the inline script', () => {
const html = String();
const scriptMatch = html.match(/