Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: typeof challenge: cannot find name, preventing tests from resolving. #1425

Open
one2code opened this issue Feb 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@one2code
Copy link

What happened?

On the typeof lesson, the values being passed into typeof cannot be found, starting with the provided example, type Width = typeof width;. Each subsequent typeof returns a cannot be found error, despite satisfying the provided tests in the lesson. Since variables such as width, margin, and d3ChartConfig have been correctly defined, they should resolve correctly. Based on previously submitted answers, it looked like the these values did resolve correctly in the past, and based on the comments, it seems like several other issues experienced the same problem.

When I looked at the logs, I saw an error for an unresolved promise. After reloading the browser, the promise resolved, and the tests had passed (sorry, I wasn't able to capture the log). I haven't be able to replicate the Promise failing, but when it does fail, it prevents the tests from passing. I have both a rejected and accepted submission with the same code that demonstrates this condition when the Promise is unresolved. It is possible that a file like TrueCases.d.ts-or other test related files- is occasionally failing to return a 200, leading to the tests being unresolvable.

What browsers are you seeing the problem on?

Firefox, Chrome

Relevant log output

No response

@one2code one2code added bug Something isn't working triage labels Feb 18, 2024
@jhechtf jhechtf removed the triage label Apr 10, 2024
@jhechtf
Copy link
Collaborator

jhechtf commented Apr 10, 2024

Do you have a link to the actual challenge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants