()
| 289 | |
| 290 | // a failure is expected since this is not a true framework project |
| 291 | const asyncErrorBlock = async () => { |
| 292 | const childProcess = execa( |
| 293 | cliPath, |
| 294 | ['dev', '--offline'], |
| 295 | getExecaOptions({ cwd: builder.directory, env: { CI: 'false' } }), |
| 296 | ) |
| 297 | |
| 298 | handleQuestions(childProcess, [ |
| 299 | { |
| 300 | question: 'Multiple possible dev commands found', |
| 301 | answer: answerWithValue(DOWN), |
| 302 | }, |
| 303 | ]) |
| 304 | |
| 305 | await childProcess |
| 306 | } |
| 307 | try { |
| 308 | await asyncErrorBlock() |
| 309 | t.expect.unreachable() |
no test coverage detected