()
| 5 | const fixtures = require('../common/fixtures'); |
| 6 | |
| 7 | async function collectEvents() { |
| 8 | const events = []; |
| 9 | const stream = run({ |
| 10 | files: [fixtures.path('test-runner/test-id-fixture.js')], |
| 11 | isolation: 'none', |
| 12 | }); |
| 13 | for await (const event of stream) { |
| 14 | events.push(event); |
| 15 | } |
| 16 | return events; |
| 17 | } |
| 18 | |
| 19 | async function main() { |
| 20 | const events = await collectEvents(); |