Files
node/test/test-runner/test-output-skip-each-hooks.mjs
2025-10-24 09:12:46 +00:00

12 lines
430 B
JavaScript

// Test that the output of test-runner/output/skip-each-hooks.js matches
// test-runner/output/skip-each-hooks.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/skip-each-hooks.js'),
specTransform,
);