My solution is fully functional and verified working (tested manually and via headless Chromium/Puppeteer, including a real cross-origin fetch() identical to how the test likely runs):
Test 1, 2, 3 pass. Test 4 fails:
“When you submit a file, you receive the file name, type, and size in bytes within the JSON response.”
I opened DevTools Console while running the test and found the actual error is happening
inside freeCodeCamp’s own test sandbox, not my app:
Error: blob is not implemented yet
at o (dom-test-evaluator.js:2:102733)
at Object.blob (dom-test-evaluator.js:2:103360)
at eval (eval at #a (dom-test-evaluator.js:2:255755), :6:31)
at async #a (dom-test-evaluator.js:2:255749)
at async DOMTestEvaluator.handleMessage (dom-test-evaluator.js:2:256257)
I’ve seen that error come up constantly on the forum. Is it really that complicated to implement a fix that prevents that error? Regardless of whether the course is archived and no longer updated, consideration should be given to those who want to obtain the certificate but are prevented from doing so by this issue.
The people who want to obtain the certificate should be taken into account.
The issues I’ve seen regarding this topic are always “closed as not planned”; the point is that there are people who want to finish the course, and this error prevents them from doing so.