Bnaya

fabric tests log1

Jul 1st, 2014
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.52 KB | None | 0 0
  1. > [email protected] test ***/fabric.js
  2. > node test.js && jshint src
  3.  
  4.  
  5. Testing ***/fabric.js/dist/fabric.js ...
  6. jpeg toDataURL not supported
  7. Fontconfig warning: ignoring UTF-8: not a valid region tag
  8. done
  9.  
  10.  
  11. Errors:
  12.  
  13. Module: fabric.Ellipse Test: fromElement
  14. at Object.left (***/fabric.js/test/unit/ellipse.js:114:5)
  15. Actual value:
  16. null
  17. Expected value:
  18. 12
  19.  
  20. Module: fabric.Ellipse Test: fromElement
  21. at Object.left (***/fabric.js/test/unit/ellipse.js:115:5)
  22. Actual value:
  23. null
  24. Expected value:
  25. 15
  26.  
  27. Module: fabric.Circle Test: fromElement
  28. at Object.left (***/fabric.js/test/unit/circle.js:155:5)
  29. Actual value:
  30. null
  31. Expected value:
  32. 12
  33.  
  34. Module: fabric.Circle Test: fromElement
  35. at Object.left (***/fabric.js/test/unit/circle.js:156:5)
  36. Actual value:
  37. null
  38. Expected value:
  39. 15
  40.  
  41. Module: fabric.util Test: fabric.loadSVGFromString
  42. Died on test #2 at QUnit.asyncTest (***/fabric.js/node_modules/qunit/node_modules/qunitjs/qunit/qunit.js:319:9): Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
  43. TypeError: Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
  44. at parseUseDirectives (***/fabric.js/dist/fabric.js:9:115623)
  45. at Object.svgCache.has [as parseSVGDocument] (***/fabric.js/dist/fabric.js:9:119026)
  46. at Object.fabric.loadSVGFromString (***/fabric.js/dist/fabric.js:9:745940)
  47. at Object.loadedObjects (***/fabric.js/test/unit/util.js:387:12)
  48.  
  49. Module: fabric.util Test: fabric.loadSVGFromString with surrounding whitespace
  50. Died on test #1 at QUnit.asyncTest (***/fabric.js/node_modules/qunit/node_modules/qunitjs/qunit/qunit.js:319:9): Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
  51. TypeError: Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
  52. at parseUseDirectives (***/fabric.js/dist/fabric.js:9:115623)
  53. at Object.svgCache.has [as parseSVGDocument] (***/fabric.js/dist/fabric.js:9:119026)
  54. at Object.fabric.loadSVGFromString (***/fabric.js/dist/fabric.js:9:745940)
  55. at Object.callbackInvoked (***/fabric.js/test/unit/util.js:400:12)
  56.  
  57. Module: fabric.util Test: fabric.util.groupSVGElements
  58. Died on test #2 at QUnit.asyncTest (***/fabric.js/node_modules/qunit/node_modules/qunitjs/qunit/qunit.js:319:9): Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
  59. TypeError: Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
  60. at parseUseDirectives (***/fabric.js/dist/fabric.js:9:115623)
  61. at Object.svgCache.has [as parseSVGDocument] (***/fabric.js/dist/fabric.js:9:119026)
  62. at Object.fabric.loadSVGFromString (***/fabric.js/dist/fabric.js:9:745940)
  63. at Object.<anonymous> (***/fabric.js/test/unit/util.js:480:12)
  64.  
  65. Module: fabric.util Test: fabric.util.groupSVGElements #2
  66. Died on test #1 at QUnit.asyncTest (***/fabric.js/node_modules/qunit/node_modules/qunitjs/qunit/qunit.js:319:9): Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
  67. TypeError: Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
  68. at parseUseDirectives (***/fabric.js/dist/fabric.js:9:115623)
  69. at Object.svgCache.has [as parseSVGDocument] (***/fabric.js/dist/fabric.js:9:119026)
  70. at Object.fabric.loadSVGFromString (***/fabric.js/dist/fabric.js:9:745940)
  71. at Object.array (***/fabric.js/test/unit/util.js:493:12)
  72.  
  73. Summary:
  74. ┌────────────────────────────────────────────────────┬────────┬────────┬───────┬─────────┐
  75. │ File │ Failed │ Passed │ Total │ Runtime │
  76. ├────────────────────────────────────────────────────┼────────┼────────┼───────┼─────────┤
  77. │ ***/fabric.js/dist/fabric.js │ 8 │ 2473 │ 2481 │ 21878 │
  78. └────────────────────────────────────────────────────┴────────┴────────┴───────┴─────────┘
  79.  
  80. Global summary:
  81. ┌───────┬───────┬────────────┬────────┬────────┬─────────┐
  82. │ Files │ Tests │ Assertions │ Failed │ Passed │ Runtime │
  83. ├───────┼───────┼────────────┼────────┼────────┼─────────┤
  84. │ 1 │ 586 │ 2481 │ 8 │ 2473 │ 21878 │
  85. └───────┴───────┴────────────┴────────┴────────┴─────────┘
  86.  
  87. Coverage:
  88. ┌────────────────────────────────────────────────────┬────────────────────┬────────────────────┬───────────────────┬─────────────────┐
  89. │ File │ Statements │ Branches │ Functions │ Lines │
  90. ├────────────────────────────────────────────────────┼────────────────────┼────────────────────┼───────────────────┼─────────────────┤
  91. │ ***/fabric.js/dist/fabric.js │ 54.72% (3213/5872) │ 46.88% (1861/3970) │ 63.32% (737/1164) │ 55% (3188/5796) │
  92. └────────────────────────────────────────────────────┴────────────────────┴────────────────────┴───────────────────┴─────────────────┘
  93.  
  94. Global coverage:
  95. ┌───────┬────────────────────┬────────────────────┬───────────────────┬─────────────────┐
  96. │ Files │ Statements │ Branches │ Functions │ Lines │
  97. ├───────┼────────────────────┼────────────────────┼───────────────────┼─────────────────┤
  98. │ 1 │ 54.72% (3213/5872) │ 46.88% (1861/3970) │ 63.32% (737/1164) │ 55% (3188/5796) │
  99. └───────┴────────────────────┴────────────────────┴───────────────────┴─────────────────┘
  100. npm ERR! Test failed. See above for more details.
  101. npm ERR! not ok code 0
Advertisement
Add Comment
Please, Sign In to add comment