Files
John 69b4e68baf
SAP-ERP Portal CI/CD / build (push) Failing after 5m20s
first commit
2026-09-23 17:31:02 +05:30

20 lines
538 B
JavaScript

'use strict';
var defineProperties = require('define-properties');
var isEnumerable = Object.prototype.propertyIsEnumerable;
var runTests = require('./tests');
module.exports = function (t) {
if (typeof AggregateError === 'undefined') {
t.fail('AggregateError does not exist');
return;
}
t.test('enumerability', { skip: !defineProperties.supportsDescriptors }, function (et) {
et.equal(false, isEnumerable.call(global, 'AggregateError'), 'AggregateError is not enumerable');
et.end();
});
runTests(AggregateError, t);
};