There's mistake in test cases

Tell us what’s happening:
There’s a static method from in Array class (that come out in ES2015). It makes similar result as map, but gets failed at ‘An iterator should be used.’ test case. Please, change that test case. @camperbot

Your code so far


const result = {
success: ["max-length", "no-amd", "prefer-arrow-functions"],
failure: ["no-var", "var-on-top", "linebreak"],
skipped: ["no-extra-semi", "no-dup-keys"]
};
function makeList(arr) {
// Only change code below this line
const failureItems = Array.from(arr, el => `<li class="text-warning">${el}</li>`)
// Only change code above this line
return failureItems;
}

const failuresList = makeList(result.failure);

Challenge: Create Strings using Template Literals

Link to the challenge:

Have you verified that your solution produces a result that is character for character identical to the result from the solution on the hints page?