current commit
251024.3 · test: put helper in test-runner-output into common
// Test that the output of test-runner/output/force_exit.js matches test-runner/output/force_exit.snapshot
import '../common/index.mjs';
import * as fixtures from '../common/fixtures.mjs';
import { spawnAndAssert, specTransform, ensureCwdIsProjectRoot } from '../common/assertSnapshot.js';

ensureCwdIsProjectRoot();
await spawnAndAssert(
  fixtures.path('test-runner/output/force_exit.js'),
  specTransform,
);