mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: move common.isCPPSymbolsNotMapped to tick-processor tests
`common.isCPPSymbolsNotMapped` is used only by the tests in the `test/tick-processor` folder. Move it local to those to get it out of `common`. PR-URL: https://github.com/nodejs/node/pull/22459 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
'use strict';
|
||||
const common = require('../common');
|
||||
const { isCPPSymbolsNotMapped } = require('./util');
|
||||
|
||||
if (!common.enoughTestCpu)
|
||||
common.skip('test is CPU-intensive');
|
||||
|
||||
if (common.isCPPSymbolsNotMapped) {
|
||||
if (isCPPSymbolsNotMapped) {
|
||||
common.skip('C++ symbols are not mapped for this os.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user