mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 17:01:08 +00:00

All hosts in CI return true for common.enoughTestCpu. At least for our CI, it is always true, so we can remove it. PR-URL: https://github.com/nodejs/node/pull/39161 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
19 lines
432 B
JavaScript
19 lines
432 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const { isCPPSymbolsNotMapped } = require('./util');
|
|
|
|
if (isCPPSymbolsNotMapped) {
|
|
common.skip('C++ symbols are not mapped for this os.');
|
|
}
|
|
|
|
const base = require('./tick-processor-base.js');
|
|
|
|
base.runTest({
|
|
pattern: /MakeContext/,
|
|
code: `function f() {
|
|
require('vm').createContext({});
|
|
setImmediate(function() { f(); });
|
|
};
|
|
f();`
|
|
});
|