-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: ast-based helpers #111
feat: ast-based helpers #111
Conversation
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
|
This makes for a much cleaner api
Allowing for easy confirmation that a given variable is assigned a particular constant value
Not just Constants, as I thought.
Separates finding the variable from checking the type
0378a58
to
211d1f5
Compare
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? It's source code.
How, though? Jest tries to import |
Is it not just used in the build, and then imported as a JS string? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checklist:
Update index.md
)This is mostly a proof of concept. The idea being that the python test runner can import the
astHelper
string, evaluate it and then import the new helper functions.freeCodeCamp/freeCodeCamp#53125 contains a simple example of how they can be used.