Repository navigation
chore(client): typescript migration - utils/frame.js - #46075
Conversation
|
👀 Review this PR in a CodeSee Review Map |
80f7b7b to
f77e75d
Compare
|
Tests are failing with this error. I have checked type definitions and the |
e9f2c03 to
6a8fd5a
Compare
|
The issue is that frame is used in two contexts, the client and the tests. While the client can parse TypeScript, the tests are just run in node, so can't. Ideally we should migrate
Neither is ideal, but 2. seems preferable, because frame.ts really does belong in the client and utils seems like a confusing place to put it. So, I'd recommend trying replacing the current curriculum test script with |
|
@ojeytonwilliams thanks for your help 🙌 . I've tested suggested script and it worked fine locally. I'll push the changes now. |
ojeytonwilliams
left a comment
There was a problem hiding this comment.
Really nice job @raditotev. This looks great!

Checklist:
Update index.md)mainbranch of freeCodeCamp.Closes #43778