-
-
Notifications
You must be signed in to change notification settings - Fork 38
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: add ValidationError #8
Conversation
michael-ciniawsky
commented
Apr 20, 2017
@bebraw @d3viant0ne please review |
Codecov Report
@@ Coverage Diff @@
## master #8 +/- ##
===========================================
+ Coverage 83.33% 94.11% +10.78%
===========================================
Files 2 3 +1
Lines 6 17 +11
Branches 2 3 +1
===========================================
+ Hits 5 16 +11
Misses 1 1
Continue to review full report at Codecov.
|
test/index.test.js
Outdated
@@ -0,0 +1,26 @@ | |||
/* eslint-disable */ | |||
import validateOptions from '../dist/validateOptions'; |
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.
You keep defaulting to this testing approach and as I have said before, you negate most of the usefulness of using Jest.
- Jest doesn't require a build step as it's setup in defaults. babel-jest takes care of that.
- Jest runs tests async & only runs the tests related to the code you have changed, this negates that as well.
- None of the editor plugins for Jest work with this approach
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.
Done
Anything else outstanding here ? Otherwise please merge and release I need this to move on with |
Yeah, I would merge this and get a new version out. Still a fresh package so better move fast. |
It's MVP 😛 I intentionally avoided anything AJV 'advanced' for now and update
and I'm rolling again 😛
|
@bebraw ping 😛 |
@michael-ciniawsky - Juho is still touring as far as I know so his availability is limited. Given this is an internal tool and limited in deployment at the moment, as long as you are finished with this PR, I'll land it and publish a Major. |
@d3viant0ne Maybe this error format is better
? |
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.
Let's go with this. The exact formatting can be tweaked later based on user feedback.
|