summaryrefslogtreecommitdiffstats
path: root/test/wpt/start-xhr.mjs
blob: 08f82ebc579d353820084b05ede4186ff5f7e6d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { WPTRunner } from './runner/runner.mjs'
import { once } from 'events'

const { WPT_REPORT } = process.env

const runner = new WPTRunner('xhr/formdata', 'http://localhost:3333', {
  appendReport: !!WPT_REPORT,
  reportPath: WPT_REPORT
})
runner.run()

await once(runner, 'completion')