You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.
Not sure exactly how to do this, but ideally it should be possible to write a single test that traverses all functions exported by Pyramda and asserts they're curried. A simple approach to this would be for the @curry decorator to add a hidden attribute to the function indicating it's curried, and have the test look for this property. This doesn't test that the currying actually works as advertised though.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Not sure exactly how to do this, but ideally it should be possible to write a single test that traverses all functions exported by Pyramda and asserts they're curried. A simple approach to this would be for the
@curry
decorator to add a hidden attribute to the function indicating it's curried, and have the test look for this property. This doesn't test that the currying actually works as advertised though.The text was updated successfully, but these errors were encountered: