mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
12 lines
447 B
JavaScript
12 lines
447 B
JavaScript
|
|
// Test that the output of test-runner/output/no_refs.js matches test-runner/output/no_refs.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/no_refs.js'),
|
||
|
|
defaultTransform,
|
||
|
|
{ flags: ['--test-reporter=tap'] },
|
||
|
|
);
|