I am logging namesDefinitions.name to the console log and not to sure why it is turning back as undefined in the console log. it shows (14 undefined) in the console. Shouldn't this show me the list of all the names?
const unitTests = unitTestTemplates.map((item) => {
const namesDefintions = [
{name: 'REASONABLENESS', definition: 'Verifies that the data aligns to operational context. E.g. a birth date of 01/01/01 is valid, but generally not reasonable'},
{name: 'COMPLETENESS', definition: 'Verifies that all necessary data is present in a dataset.'},
{name: 'VALIDITY', definition: 'Verifies that the data conforms to the format of its definition'},
{name: 'UNIQUENESS', definition: 'Verifies that an attribute is unique and free of duplication '},
{name: 'TIMELINESS', definition: 'Verifies that data is up to date and available for use as required by the busines'},
{name: 'CONSISTENCY', definition: 'Verifies that the data is free of contradictions. Especially where data is pulled from multiple environments'},
{name: 'INTEGRITY', definition: 'Verifies that data is accurate and consistent across its lifecycle. Each time data is replicated or transferred, it should remain intact and unaltered between updates. Error checking methods should be used to ensure that the data is transferred without alteration.'},
{name: 'RECONCILIATION', definition: 'Verifies the accuracy of financial attributes and measures as they are transformed through the various layers of the data platform. This can take the form of an aggregated sum comparison which prevents any mismatch caused by changing the granularity of qualifying dimensions.'}
]
console.log(namesDefintions.name);
})