mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
fb37922cf3
This makes the naming more consistent with existing properties like isFreeBSD where the capitalization of the property name is consistent with the conventional styling of the operating system. PR-URL: https://github.com/nodejs/node/pull/14263 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Bryan English <bryan@bryanenglish.com>
24 lines
546 B
JavaScript
24 lines
546 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
|
|
if (!common.enoughTestCpu)
|
|
common.skip('test is CPU-intensive');
|
|
|
|
if (common.isWindows ||
|
|
common.isSunOS ||
|
|
common.isAIX ||
|
|
common.isLinuxPPCBE ||
|
|
common.isFreeBSD)
|
|
common.skip('C++ symbols are not mapped for this os.');
|
|
|
|
const base = require('./tick-processor-base.js');
|
|
|
|
base.runTest({
|
|
pattern: /RunInDebugContext/,
|
|
code: `function f() {
|
|
require('vm').runInDebugContext('Debug');
|
|
setImmediate(function() { f(); });
|
|
};
|
|
f();`
|
|
});
|