-
Notifications
You must be signed in to change notification settings - Fork 42
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: isAlphaNumeric #43
Conversation
@vorillaz Hi, can you help me understand why the test failed? I'm not sure if I understand the problem. I already did a rebase. |
Hey @floookay you can see the failing spec over here circleci.com/gh/plexis-js/plexis/122 Every time you are adding a new dependency to the main plexis/packages/plexis/test/index.js Line 4 in 92cf70c
This one is based on snapshot testing. Since you have added a new method into the exported ones you shall update the snapshot (https://github.com/plexis-js/plexis/blob/master/packages/plexis/test/__snapshots__/index.js.snap) You can pipe any Jest parameters directly to the NPM script. So you can run More about snapshot testing can be found here |
Hey @floookay, Make sure you run @vorillaz should probably expand the README or add some sort of instructions with common problems. This issue in particular keeps coming up. Brandon |
Thanks for the suggestion @brandon-m-skinner that's an awesome idea. |
Sure thing @vorillaz. |
@vorillaz Thank you so much for the detailed explanation! I see were I messed up earlier. Also, running |
Hey @floookay , can you please rebase your branch and we are good to go. |
Codecov Report
@@ Coverage Diff @@
## master #43 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 25 26 +1
Lines 129 130 +1
=====================================
+ Hits 129 130 +1
|
@vorillaz The branch is rebased. |
@floookay Can you please do another rebase since I released a version? Apologies for that :( |
@vorillaz No worries! I rebased the branch. |
@floookay Thanks so much :) |
Added the isAlphaNumeric feature to check for strings that consist of alphabetical and/or numerical characters.
Aliases are
isAlphaNumeric
,isAlphanumeric
andisAlphaDigit
Closes #20