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

15 lines
608 B
JavaScript

// The full R4.1e TypeScript baseline: the export runs, then the import runs,
// in one results file (default results/<date>-ts-baseline.json).
//
// PLAYWRIGHT_NODE_MODULES=... node scripts/browser/ts-baseline.mjs \
// [--engines chromium,firefox,webkit] [--out <file>]
import { runExportBaseline } from './export-baseline.mjs'
import { runImportBaseline } from './import-baseline.mjs'
import { runHarnessCli } from './lib/harness.mjs'
const name = `${new Date().toISOString().slice(0, 10)}-ts-baseline.json`
await runHarnessCli(
{ export: runExportBaseline, import: runImportBaseline },
name,
)