Update test262 to latest commit and enable mapping for features
Also added an automated check for new features which are not mapped or ignored
This commit is contained in:
committed by
Nicolò Ribaudo
parent
d35563ee1a
commit
1d4d760ffc
@@ -105,6 +105,20 @@ Promise.all([utils.getTests(testDir), utils.getWhitelist(whitelistFile)])
|
||||
} else {
|
||||
process.exitCode = summary.passed ? 0 : 1;
|
||||
}
|
||||
|
||||
const unmappedFeatures = utils.getUnmappedFeatures();
|
||||
|
||||
if (unmappedFeatures.size) {
|
||||
console.log("");
|
||||
console.log(
|
||||
"The following Features are not currently mapped or ignored:"
|
||||
);
|
||||
console.log(
|
||||
Array.from(unmappedFeatures)
|
||||
.join("\n")
|
||||
.replace(/^/gm, " ")
|
||||
);
|
||||
}
|
||||
})
|
||||
.catch(function(err) {
|
||||
console.error(err);
|
||||
|
||||
Reference in New Issue
Block a user