URL Shortener Microservice. How to pass tests properly?

Tell us what’s happening

Good day. I recently started the project in the topic header. On my deployment and local environment, the project acts as is expected. Yet, tests # 2 and # 3 keep failing. Looking forward to guidance on this. #javascript

BTW, I have checked the other submissions and can not find one that matches my implementation as I did not use the DNS or URL module.

Your project link(s)

Your browser information

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36


URL Shortener Microservice

Link to the challenge

Solved my issue above by using the URL module instead of RegEx validation!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.