1'use strict'; 2const common = require('../common'); 3const { isCPPSymbolsNotMapped } = require('./util'); 4 5if (isCPPSymbolsNotMapped) { 6 common.skip('C++ symbols are not mapped for this os.'); 7} 8 9const base = require('./tick-processor-base.js'); 10 11base.runTest({ 12 pattern: /^{/, 13 code: `function f() { 14 require('vm').createContext({}); 15 setImmediate(function() { f(); }); 16 }; 17 f();`, 18 profProcessFlags: ['--preprocess'], 19}); 20