Migrated version.evaluate.cjs to ES Module (#17347)

This commit is contained in:
fisker Cheung authored and GitHub committed 2025-04-16 13:39:48 +08:00
1 parent c992b0bc1b
commit 4b2db262b7
7 files changed
+17 -17

No files matched your search

+7 -1
View File
@@ -40,9 +40,15 @@ if (isProduction) {
);
}
if (SKIP_TESTS_WITH_NEW_SYNTAX) {
if (SKIP_TESTS_WITH_NEW_SYNTAX || process.versions.node.startsWith("16.")) {
// Uses import attributes
testPathIgnorePatterns.push(
"<rootDir>/tests/integration/__tests__/help-options.js",
);
}
if (SKIP_TESTS_WITH_NEW_SYNTAX) {
testPathIgnorePatterns.push(
"<rootDir>/tests/integration/__tests__/plugin-parsers.js",
"<rootDir>/tests/integration/__tests__/normalize-doc.js",
"<rootDir>/tests/integration/__tests__/doc-utils-clean-doc.js",