If Postman test uses template strings like shown below, then these are not parsed correctly because regex used for detecting tests does not take backticks into account.
pm.test(`Should include ${sectorName} in the records list`, function () {
const countries = pm.response.json().success.data.countries;
const countryUS = countries.find
(data => data.name === "United States");
const responseSector = countryUS.sectors.find
(data => data.name === sectorName);
pm.expect(responseSector.name).to.eql(sectorName)
});
If Postman test uses template strings like shown below, then these are not parsed correctly because regex used for detecting tests does not take backticks into account.