Files
bchanot 4439fd2420 test(tests): R4.1e browser harness and TS baselines (Chromium, Firefox, WebKit)
Playwright harness under scripts/browser: 127.0.0.1 server with the DEPLOY
CSP, export and import baselines of the TypeScript engine under a 4 GiB RSS
watchdog (not a guaranteed memory limit), O9 browser columns in
inflate.browsers.json (26 rows agree with Node in all three engines).
Results of 2026-10-18 committed; the O9 Node test no longer expects browser
columns in inflate.json.
2026-10-18 15:05:28 +02:00

9 lines
408 B
JavaScript

// Prints the markdown tables of a results file the baseline scripts wrote:
// node scripts/browser/summarize.mjs scripts/browser/results/<file>.json
import { readFileSync } from 'node:fs'
import { markdownSummary } from './lib/summary.mjs'
const file = process.argv[2]
if (!file) throw new Error('usage: summarize.mjs <results.json>')
console.log(markdownSummary(JSON.parse(readFileSync(file, 'utf8'))))