-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Fabric update new canvas, new jsdom #5356
Conversation
asturur
commented
Oct 29, 2018
•
edited
Loading
edited
- update jsdom to 13
- update canvas to 2
- remove node 4 and 6
- remove xmldom since JSDOM now parses XMLs too
- update test to take care of how JSDOM request resources now
- update visual test loop to create a new canvas and dispose it each test
- update visual test code to do not use the requestRenderCallback
- added NODE 11 to test matrix
- removed allowed failures, since today all test have to pass in node as in browser
- swapped istanbul with nyc
- updated qunit to latest 2.9.2
package.json
Outdated
@@ -60,8 +60,8 @@ | |||
"testem:ci": "testem ci" | |||
}, | |||
"optionalDependencies": { | |||
"canvas": "^1.6.12", | |||
"jsdom": "^9.12.0", | |||
"canvas": "^2.0.1", |
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.
Canvas 2.0 has some breaking changes
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 know i know, did not read yet how to interact with new jsdom. Canvas is transparent for us
This is how I use [email protected] and [email protected] in my project based an fabric.
|
why you do not open a pr, so i can close this? |
So far so good, we are currently stopped by jsdom/jsdom#2503 If they fix this bug, we can migrate. |
moved to jsdom 13.1 |
ok we have a green build but node tests ( previously marked as possibly fail ) fail harder than before. |