251024.3 · test: put helper in test-runner-output into common
// Test that the output of test-runner/output/output_cli.js matches test-runner/output/output_cli.snapshot
import '../common/index.mjs';
import * as fixtures from '../common/fixtures.mjs';
import { spawnAndAssert, defaultTransform, ensureCwdIsProjectRoot } from '../common/assertSnapshot.js';
ensureCwdIsProjectRoot();
await spawnAndAssert(
fixtures.path('test-runner/output/output_cli.js'),
defaultTransform,
);