Welcome to mirror list, hosted at ThFree Co, Russian Federation.

esm-snapshot-mutator.js « es-module « test - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a0dfa0c28a92bd147c777d36770a646223e18712 (plain)
1
2
3
4
5
/* eslint-disable required-modules */
'use strict';
const shouldSnapshotFilePath = require.resolve('./esm-snapshot.js');
require('./esm-snapshot.js');
require.cache[shouldSnapshotFilePath].exports++;