I am new to using Cypress and I have been following the helpful tutorial on testing your first application. However, I have encountered some compiler issues in the third section.
Following the instructions, I created a custom command but I am receiving the following compiler error:
https://i.sstatic.net/Cn4qc.png
After reading this Stack Overflow post, it seems like adding export {}
to my file may resolve the issue.
However, when I add that line to the commands.ts
file, the error disappears from there but appears in another file. Adding the same line to that file just moves the error to a new location. This cycle continues until I end up with this error:
https://i.sstatic.net/h55uu.png
If anyone could offer beginner-friendly guidance on how to troubleshoot this issue, I would greatly appreciate it. I was making good progress until I reached this point 😥