(typeField: string | undefined)
| 1387 | writtenConfig = fileName |
| 1388 | } |
| 1389 | const writePackageJson = (typeField: string | undefined) => { |
| 1390 | fs.writeFileSync( |
| 1391 | path.resolve(root, 'package.json'), |
| 1392 | JSON.stringify({ |
| 1393 | name: '@vitejs/test-load-config-from-file', |
| 1394 | type: typeField, |
| 1395 | }), |
| 1396 | ) |
| 1397 | } |
| 1398 | |
| 1399 | const canLoadConfig = async () => { |
| 1400 | const result = await loadConfigFromFile( |
no test coverage detected
searching dependent graphs…