Created
August 13, 2012 15:54
-
-
Save davidjrice/3342123 to your computer and use it in GitHub Desktop.
Test failures in fabric.js under Node 0.6.18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> fabric@0.8.47 test /Users/dave/active/fabric.js | |
> node test.js | |
Testing /Users/dave/active/fabric.js/dist/all.js ... done | |
Errors: | |
Module: fabric.Text Test: toObject | |
at Object.<anonymous> (/Users/dave/active/fabric.js/test/unit/text.js:65:5) | |
Actual value: | |
{ type: 'text', | |
left: 0, | |
top: 0, | |
width: 53.32, | |
height: 52, | |
fill: 'rgb(0,0,0)', | |
overlayFill: null, | |
stroke: null, | |
strokeWidth: 1, | |
strokeDashArray: null, | |
scaleX: 1, | |
scaleY: 1, | |
angle: 0, | |
flipX: false, | |
flipY: false, | |
opacity: 1, | |
selectable: true, | |
hasControls: true, | |
hasBorders: true, | |
hasRotatingPoint: false, | |
text: 'foo', | |
fontSize: 40, | |
fontWeight: 100, | |
fontFamily: 'Times New Roman', | |
fontStyle: '', | |
lineHeight: 1.3, | |
textDecoration: '', | |
textShadow: '', | |
textAlign: 'left', | |
path: null, | |
strokeStyle: '', | |
backgroundColor: '' } | |
Expected value: | |
{ type: 'text', | |
left: 0, | |
top: 0, | |
width: 50, | |
height: 52, | |
fill: 'rgb(0,0,0)', | |
overlayFill: null, | |
stroke: null, | |
strokeWidth: 1, | |
strokeDashArray: null, | |
scaleX: 1, | |
scaleY: 1, | |
angle: 0, | |
flipX: false, | |
flipY: false, | |
opacity: 1, | |
selectable: true, | |
hasControls: true, | |
hasBorders: true, | |
hasRotatingPoint: false, | |
text: 'foo', | |
fontSize: 40, | |
fontWeight: 100, | |
fontFamily: 'Times New Roman', | |
fontStyle: '', | |
lineHeight: 1.3, | |
textDecoration: '', | |
textShadow: '', | |
textAlign: 'left', | |
path: null, | |
strokeStyle: '', | |
backgroundColor: '' } | |
Module: fabric.Text Test: fabric.Text.fromObject | |
at Object.<anonymous> (/Users/dave/active/fabric.js/test/unit/text.js:120:5) | |
Actual value: | |
{ type: 'text', | |
left: 0, | |
top: 0, | |
width: 53.32, | |
height: 52, | |
fill: 'rgb(0,0,0)', | |
overlayFill: null, | |
stroke: null, | |
strokeWidth: 1, | |
strokeDashArray: null, | |
scaleX: 1, | |
scaleY: 1, | |
angle: 0, | |
flipX: false, | |
flipY: false, | |
opacity: 1, | |
selectable: true, | |
hasControls: true, | |
hasBorders: true, | |
hasRotatingPoint: false, | |
text: 'foo', | |
fontSize: 40, | |
fontWeight: 100, | |
fontFamily: 'Times New Roman', | |
fontStyle: '', | |
lineHeight: 1.3, | |
textDecoration: '', | |
textShadow: '', | |
textAlign: 'left', | |
path: null, | |
strokeStyle: '', | |
backgroundColor: '' } | |
Expected value: | |
{ type: 'text', | |
left: 0, | |
top: 0, | |
width: 50, | |
height: 52, | |
fill: 'rgb(0,0,0)', | |
overlayFill: null, | |
stroke: null, | |
strokeWidth: 1, | |
strokeDashArray: null, | |
scaleX: 1, | |
scaleY: 1, | |
angle: 0, | |
flipX: false, | |
flipY: false, | |
opacity: 1, | |
selectable: true, | |
hasControls: true, | |
hasBorders: true, | |
hasRotatingPoint: false, | |
text: 'foo', | |
fontSize: 40, | |
fontWeight: 100, | |
fontFamily: 'Times New Roman', | |
fontStyle: '', | |
lineHeight: 1.3, | |
textDecoration: '', | |
textShadow: '', | |
textAlign: 'left', | |
path: null, | |
strokeStyle: '', | |
backgroundColor: '' } | |
Summary: | |
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┓ | |
┃ File ┃ Failed ┃ Passed ┃ Total ┃ Runtime ┃ | |
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━╋━━━━━━━━━━╋━━━━━━━━━━╋━━━━━━━━━━┫ | |
┃ /Users/dave/active/fabric.js/dist/all.js ┃ 2 ┃ 1217 ┃ 1219 ┃ 9168 ┃ | |
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━┻━━━━━━━━━━┻━━━━━━━━━━┻━━━━━━━━━━┛ | |
Global summary: | |
┏━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┓ | |
┃ Files ┃ Tests ┃ Assertions ┃ Failed ┃ Passed ┃ Runtime ┃ | |
┣━━━━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━━━━━┫ | |
┃ 1 ┃ 284 ┃ 1219 ┃ 2 ┃ 1217 ┃ 9168 ┃ | |
┗━━━━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━━━┛ | |
npm ERR! fabric@0.8.47 test: `node test.js` | |
npm ERR! `sh "-c" "node test.js"` failed with 1 | |
npm ERR! | |
npm ERR! Failed at the fabric@0.8.47 test script. | |
npm ERR! This is most likely a problem with the fabric package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! node test.js | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls fabric | |
npm ERR! There is likely additional logging output above. | |
npm ERR! | |
npm ERR! System Darwin 11.4.0 | |
npm ERR! command "node" "/Users/dave/.nvm/v0.6.18/bin/npm" "test" | |
npm ERR! cwd /Users/dave/active/fabric.js | |
npm ERR! node -v v0.6.18 | |
npm ERR! npm -v 1.1.21 | |
npm ERR! code ELIFECYCLE | |
npm ERR! message fabric@0.8.47 test: `node test.js` | |
npm ERR! message `sh "-c" "node test.js"` failed with 1 | |
npm ERR! errno {} | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /Users/dave/active/fabric.js/npm-debug.log | |
npm not ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's my output: