({
build,
sources,
type,
hooks,
loadEnzyme
})
| 483 | } |
| 484 | |
| 485 | async function _initializeTestRunner({ |
| 486 | build, |
| 487 | sources, |
| 488 | type, |
| 489 | hooks, |
| 490 | loadEnzyme |
| 491 | }) { |
| 492 | const source = type === 'dom' ? prefixDoctype({ build, sources }) : build; |
| 493 | await page.evaluate( |
| 494 | async (sources, source, type, hooks, loadEnzyme) => { |
| 495 | await window.FCCTestRunner.createTestRunner({ |
| 496 | source, |
| 497 | type, |
| 498 | code: sources, |
| 499 | hooks, |
| 500 | loadEnzyme |
| 501 | }); |
| 502 | }, |
| 503 | sources, |
| 504 | source, |
| 505 | type, |
| 506 | hooks, |
| 507 | loadEnzyme |
| 508 | ); |
| 509 | } |
| 510 | |
| 511 | async function initializeTestRunner({ |
| 512 | build, |
no test coverage detected