1{
2 "name": "Vite 8 + React TSX with repeated <aside> branches",
3 "config": {
4 "files": ["index.html"],
5 "insertBefore": "</body>",
6 "commentSyntax": "html"
7 },
8 "sourceFiles": ["index.html", "src/App.tsx", "src/main.tsx", "src/styles.css", "vite.config.ts", "tsconfig.json"],
9 "generatedFiles": [],
10 "wrapCases": [
11 {
12 "name": "wraps the picked aside (second branch) inside a Fragment so TSX stays valid",
13 "args": { "classes": "hero-title", "tag": "h1" },
14 "expectedFile": "src/App.tsx"
15 }
16 ],
17 "runtime": {
18 "styling": "plain-css",
19 "install": ["npm", "install", "--no-audit", "--no-fund", "--loglevel=error"],
20 "devCommand": ["npx", "vite", "--host", "127.0.0.1"],
21 "readyPattern": "Local:\\s+https?://[^:]+:(\\d+)",
22 "readyTimeoutMs": 120000,
23 "pickSelector": "[data-testid='card-2'] h1.hero-title",
24 "assertSourceContains": ["Hero One", "Hero Three", "First card body copy.", "Third card body copy."],
25 "probe": {
26 "expectLiveInit": true,
27 "expectConsoleClean": true
28 }
29 }
30}