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: /Builtin_DateNow/, 13 code: `function f() { 14 this.ts = Date.now(); 15 setImmediate(function() { new f(); }); 16 }; 17 f();`, 18}); 19