-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fix Jasmine Unit Test errors #1385
Conversation
I had to fix also the Travis build. Not sure why, but you were still using NodeJS 0.10, while it's very safe to use the latest LTS. I hope it's fine for you. |
Changes Unknown when pulling 18c64e7 on julianxhokaxhiu:bugfix/test-cases into ** on yabwe:master**. |
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 really have no idea why we were on the default nodejs version on Travis. 😶
Thanks for fixing tests are fixing Travis too!
👍
Therefore make the container a bit bigger and make the test run properly. If not, the 'left' property is set to auto and the test case fails.
Fix undefined is not a constructor (evaluating 'range.startContainer.getBoundingClientRect()')
It was too small for the toolbar to fit
@j0k3r Fixed conflicts, you can merge it now if you want. |
Changes Unknown when pulling 55dec60 on julianxhokaxhiu:bugfix/test-cases into ** on yabwe:master**. |
You remove the change of nodejs version? |
Yeah, I kept your choice in master, in order to avoid conflicts while merging :) |
Description
Fix a bunch of unit tests that were failing upon running
npm run build
. Now everything builds fine again.--
Please, don't submit
/dist
files with your PR!