Skip to content

Commit b6ace85

Browse files
committed
fixup! src: dump snapshot source with node:generate_default_snapshot_source
1 parent cc1ac1e commit b6ace85

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/fixtures/exports.cjs

Whitespace-only changes.

test/parallel/test-snapshot-reproducible.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ const tmpdir = require('../common/tmpdir');
66
const fs = require('fs');
77
const assert = require('assert');
88

9+
// When the test fails this helper can be modified to write outputs
10+
// differently and aid debugging.
11+
function log(line) {
12+
console.log(line);
13+
}
14+
915
function generateSnapshot() {
1016
tmpdir.refresh();
1117

0 commit comments

Comments
 (0)