-
Notifications
You must be signed in to change notification settings - Fork 1
Use eslints tests instead of jshint #114
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
Conversation
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.
What do you mean with "fails"? Isn't Travis running this job right now? Why is it green?
@@ -7,6 +7,9 @@ env: | |||
- RUNJOB=jshint | |||
- RUNJOB=qunit | |||
|
|||
before_script: | |||
- nvm install 4 | |||
|
|||
script: bash ./build/travis/script.sh |
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.
I think this should be replaced with composer test
, and the .sh files deleted, just as in all other code repositories we maintain. But this can be done in a later patch.
@@ -124,7 +124,7 @@ define( [ | |||
'is instance of actual data value implementation\'s constructor' | |||
); | |||
assert.equal( | |||
typeof( instance.getType() ), | |||
typeof ( instance.getType() ), |
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.
typeof
is not a function. The round brackets should be removed.
Same for all typeof
below.
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.
I checked and there was only two, tell me if I'm missing anything.
It's because the checks are not being ran. I fixed that and these will fail right now :) |
I said so :D |
I updated the this patch a bit. An issue was that the code in the |
3ec798e
to
eb8020b
Compare
This succeeds now. I disabled the Note that this repository still contains tons and tons of unused code. I want to remove this for years now, and finally found a way to start doing this. Please review #115 if you can. Thanks! |
For consistency
I pushed another commit on top of yours to fix a very nitpicky problem I found. Merging this now. |
the eslint checks still fail:
Not sure how to fix those.