mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
12 lines
441 B
JavaScript
12 lines
441 B
JavaScript
|
|
// Test that the output of test-runner/output/default_output.js matches test-runner/output/default_output.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/default_output.js'),
|
||
|
|
specTransform,
|
||
|
|
{ tty: true },
|
||
|
|
);
|