Commit 8d10d92
committed
fix(test): fill in mi.url/app.id before booting the scaffolded dev server
pp-dev 1.0 hard-fails startup when mi.url is missing and mi.mode is
"embedding" or app.type is "template" (both true for template-vanilla's
default config). The dev-server e2e test scaffolds the template as-is and
was hitting this validation error instead of a healthy dev server.
Patch the placeholder values in before running `npm run dev`, same as a real
user would before their first run.1 parent 20c338e commit 8d10d92
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
276 | 288 | | |
277 | 289 | | |
278 | 290 | | |
| |||
0 commit comments